- Fix infinite loop in onchange trigger on selectboxes under some cases

This commit is contained in:
Nathan Gray 2015-03-31 16:29:15 +00:00
parent 6671f4090a
commit 3125dcba42

View File

@ -500,11 +500,11 @@ var et2_selectbox = et2_inputWidget.extend(
return; return;
} }
} }
this.value = _value;
if(this.isAttached() && this._oldValue !== et2_no_init && this._oldValue !== _value) if(this.isAttached() && this._oldValue !== et2_no_init && this._oldValue !== _value)
{ {
this.input.change(); this.input.change();
} }
this.value = _value;
}, },
set_multi_value: function(_value) { set_multi_value: function(_value) {