From 3125dcba42a6c62eb045e2e68b7ab3f6c751ab74 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 31 Mar 2015 16:29:15 +0000 Subject: [PATCH] - Fix infinite loop in onchange trigger on selectboxes under some cases --- etemplate/js/et2_widget_selectbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_widget_selectbox.js b/etemplate/js/et2_widget_selectbox.js index 4f9fe0fcaf..2c17c14a64 100644 --- a/etemplate/js/et2_widget_selectbox.js +++ b/etemplate/js/et2_widget_selectbox.js @@ -500,11 +500,11 @@ var et2_selectbox = et2_inputWidget.extend( return; } } + this.value = _value; if(this.isAttached() && this._oldValue !== et2_no_init && this._oldValue !== _value) { this.input.change(); } - this.value = _value; }, set_multi_value: function(_value) {