FormElementGroup: don't trigger change on submit
This commit is contained in:
parent
8c7bf418ec
commit
7c7f97066e
1 changed files with 2 additions and 4 deletions
|
@ -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
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue