only update list values once list has loaded
This commit is contained in:
parent
244591d57e
commit
2efbc53b33
1 changed files with 4 additions and 3 deletions
|
@ -120,9 +120,10 @@ Ox.FormPanel = function(options, self) {
|
|||
.hide()
|
||||
.appendTo(self.$section);
|
||||
});
|
||||
|
||||
self.$forms.forEach(function($form, i) {
|
||||
self.$list.value(self.options.form[i].id, 'valid', $form.valid());
|
||||
self.$list.bindEvent('load', function() {
|
||||
self.$forms.forEach(function($form, i) {
|
||||
self.$list.value(self.options.form[i].id, 'valid', $form.valid());
|
||||
});
|
||||
});
|
||||
|
||||
self.$sections[0].show();
|
||||
|
|
Loading…
Reference in a new issue