FormElementGroup: don't trigger change on submit

This commit is contained in:
rlx 2012-06-16 13:35:14 +00:00
parent 8c7bf418ec
commit 7c7f97066e

View file

@ -50,7 +50,7 @@ Ox.FormElementGroup = function(options, self) {
that.triggerEvent({autovalidate: data}); that.triggerEvent({autovalidate: data});
}, },
change: change, change: change,
submit: change, //submit: change,
validate: function(data) { validate: function(data) {
that.triggerEvent({validate: data}); that.triggerEvent({validate: data});
} }
@ -60,9 +60,7 @@ Ox.FormElementGroup = function(options, self) {
function change(data) { function change(data) {
self.options.value = getValue(); self.options.value = getValue();
that.triggerEvent('change', { that.triggerEvent('change', {value: self.options.value});
value: self.options.value
});
} }
/* /*