Ox.FormPanel: add missing select event
This commit is contained in:
parent
cfa16327a5
commit
c0837fb4ff
1 changed files with 4 additions and 2 deletions
|
@ -5,8 +5,9 @@ Ox.FormPanel <f> Form Panel
|
|||
options <o> Options
|
||||
self <o> Shared private variable
|
||||
([options[, self]]) -> <o:Ox.Element> Form Panel
|
||||
change <!> change
|
||||
validate <!> validate
|
||||
change <!> Fires when a value changed
|
||||
select <!> Fires when a section gets selected
|
||||
validate <!> Fires when the form becomes valid or invalid
|
||||
@*/
|
||||
Ox.FormPanel = function(options, self) {
|
||||
|
||||
|
@ -69,6 +70,7 @@ Ox.FormPanel = function(options, self) {
|
|||
self.$sections[self.section].hide();
|
||||
self.section = Ox.getIndexById(self.options.form, data.ids[0]);
|
||||
self.$sections[self.section].show();
|
||||
that.triggerEvent('select', {section: data.ids[0]});
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue