projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55b8495
)
Roo/form/BasicForm.js
author
Edward
<edward@roojs.com>
Wed, 24 Apr 2019 04:16:54 +0000
(12:16 +0800)
committer
Edward
<edward@roojs.com>
Wed, 24 Apr 2019 04:16:54 +0000
(12:16 +0800)
Roo/form/BasicForm.js
patch
|
blob
|
history
diff --git
a/Roo/form/BasicForm.js
b/Roo/form/BasicForm.js
index
fa79f3d
..
a35dc1c
100644
(file)
--- a/
Roo/form/BasicForm.js
+++ b/
Roo/form/BasicForm.js
@@
-162,12
+162,14
@@
Roo.extend(Roo.form.BasicForm, Roo.util.Observable, {
var target = false;
this.items.each(function(f){
if(f.validate()){
- valid = false;
+ return;
+ }
+
+ valid = false;
- if(!target && f.el.isVisible(true)){
- target = f;
- }
- }
+ if(!target && f.el.isVisible(true)){
+ target = f;
+ }
});
if(this.errorMask && !valid){