forked from 0x2620/oxjs
TextList -> TableList
This commit is contained in:
parent
7648d2d4ac
commit
bdebb03a45
17 changed files with 101 additions and 104 deletions
|
|
@ -19,7 +19,7 @@ Ox.FormPanel = function(options, self) {
|
|||
|
||||
self.section = 0;
|
||||
self.sectionTitle = self.options.form[self.section].title;
|
||||
self.$list = Ox.TextList({
|
||||
self.$list = Ox.TableList({
|
||||
columns: [
|
||||
{
|
||||
id: 'id',
|
||||
|
|
@ -120,10 +120,9 @@ Ox.FormPanel = function(options, self) {
|
|||
.hide()
|
||||
.appendTo(self.$section);
|
||||
});
|
||||
self.$list.bindEvent('load', function() {
|
||||
self.$forms.forEach(function($form, i) {
|
||||
self.$list.value(self.options.form[i].id, 'valid', $form.valid());
|
||||
});
|
||||
|
||||
self.$forms.forEach(function($form, i) {
|
||||
self.$list.value(self.options.form[i].id, 'valid', $form.valid());
|
||||
});
|
||||
|
||||
self.$sections[0].show();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue