diff --git a/source/Ox.UI/js/Form/FormPanel.js b/source/Ox.UI/js/Form/FormPanel.js index aeabee16..ff4d9890 100644 --- a/source/Ox.UI/js/Form/FormPanel.js +++ b/source/Ox.UI/js/Form/FormPanel.js @@ -5,8 +5,9 @@ Ox.FormPanel Form Panel options Options self Shared private variable ([options[, self]]) -> 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]}); } });