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});
},
change: change,
submit: change,
//submit: change,
validate: function(data) {
that.triggerEvent({validate: data});
}
@ -60,9 +60,7 @@ Ox.FormElementGroup = function(options, self) {
function change(data) {
self.options.value = getValue();
that.triggerEvent('change', {
value: self.options.value
});
that.triggerEvent('change', {value: self.options.value});
}
/*