1
0
mirror of synced 2024-11-26 23:06:02 +03:00

by default do not trigger change from val. #771 #619

This commit is contained in:
Igor Vaynberg 2013-01-31 14:25:51 -08:00
parent 273ec1438e
commit 4482c2af85

View File

@ -1757,7 +1757,7 @@ the specific language governing permissions and limitations under the Apache Lic
// single // single
val: function () { val: function () {
var val, triggerChange = true, data = null, self = this; var val, triggerChange = false, data = null, self = this;
if (arguments.length === 0) { if (arguments.length === 0) {
return this.opts.element.val(); return this.opts.element.val();
@ -2310,7 +2310,7 @@ the specific language governing permissions and limitations under the Apache Lic
// multi // multi
val: function () { val: function () {
var val, triggerChange = true, data = [], self=this; var val, triggerChange = false, data = [], self=this;
if (arguments.length === 0) { if (arguments.length === 0) {
return this.getVal(); return this.getVal();