From 5494009030a37e1adfa29a89d67b772d2ede7f3a Mon Sep 17 00:00:00 2001 From: fay Date: Wed, 26 Sep 2018 19:39:53 +0800 Subject: [PATCH] Revert "update" This reverts commit acd89f38e6de62af93881754a8df483f3dca50c7. --- dist/bundle.ie.js | 15 ++++----------- dist/bundle.js | 15 ++++----------- dist/case.js | 15 ++++----------- dist/fineui.ie.js | 15 ++++----------- dist/fineui.js | 15 ++++----------- dist/fineui_without_jquery_polyfill.js | 15 ++++----------- 6 files changed, 24 insertions(+), 66 deletions(-) diff --git a/dist/bundle.ie.js b/dist/bundle.ie.js index 12617312e..b375d1acb 100644 --- a/dist/bundle.ie.js +++ b/dist/bundle.ie.js @@ -53813,19 +53813,13 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, { }); this.combo.on(BI.DownListCombo.EVENT_CHANGE, function () { - var currentVal = self.combo.getValue()[0].value; - if (currentVal !== self.value) { - self.setValue(currentVal); - self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); - } + self.setValue(self.combo.getValue()[0].value); + self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); }); this.combo.on(BI.DownListCombo.EVENT_SON_VALUE_CHANGE, function () { - var currentVal = self.combo.getValue()[0].childValue; - if (currentVal !== self.value) { - self.setValue(currentVal); - self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); - } + self.setValue(self.combo.getValue()[0].childValue); + self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); }); }, @@ -53844,7 +53838,6 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, { }, _digest: function (v) { - this.value = v; return this.valueMap[v]; }, diff --git a/dist/bundle.js b/dist/bundle.js index 56974400f..83962a960 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -54352,19 +54352,13 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, { }); this.combo.on(BI.DownListCombo.EVENT_CHANGE, function () { - var currentVal = self.combo.getValue()[0].value; - if (currentVal !== self.value) { - self.setValue(currentVal); - self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); - } + self.setValue(self.combo.getValue()[0].value); + self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); }); this.combo.on(BI.DownListCombo.EVENT_SON_VALUE_CHANGE, function () { - var currentVal = self.combo.getValue()[0].childValue; - if (currentVal !== self.value) { - self.setValue(currentVal); - self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); - } + self.setValue(self.combo.getValue()[0].childValue); + self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); }); }, @@ -54383,7 +54377,6 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, { }, _digest: function (v) { - this.value = v; return this.valueMap[v]; }, diff --git a/dist/case.js b/dist/case.js index 1f89d5bd4..0ff496e20 100644 --- a/dist/case.js +++ b/dist/case.js @@ -5490,19 +5490,13 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, { }); this.combo.on(BI.DownListCombo.EVENT_CHANGE, function () { - var currentVal = self.combo.getValue()[0].value; - if (currentVal !== self.value) { - self.setValue(currentVal); - self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); - } + self.setValue(self.combo.getValue()[0].value); + self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); }); this.combo.on(BI.DownListCombo.EVENT_SON_VALUE_CHANGE, function () { - var currentVal = self.combo.getValue()[0].childValue; - if (currentVal !== self.value) { - self.setValue(currentVal); - self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); - } + self.setValue(self.combo.getValue()[0].childValue); + self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); }); }, @@ -5521,7 +5515,6 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, { }, _digest: function (v) { - this.value = v; return this.valueMap[v]; }, diff --git a/dist/fineui.ie.js b/dist/fineui.ie.js index 77fb82a6b..c264cfbe6 100644 --- a/dist/fineui.ie.js +++ b/dist/fineui.ie.js @@ -54055,19 +54055,13 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, { }); this.combo.on(BI.DownListCombo.EVENT_CHANGE, function () { - var currentVal = self.combo.getValue()[0].value; - if (currentVal !== self.value) { - self.setValue(currentVal); - self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); - } + self.setValue(self.combo.getValue()[0].value); + self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); }); this.combo.on(BI.DownListCombo.EVENT_SON_VALUE_CHANGE, function () { - var currentVal = self.combo.getValue()[0].childValue; - if (currentVal !== self.value) { - self.setValue(currentVal); - self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); - } + self.setValue(self.combo.getValue()[0].childValue); + self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); }); }, @@ -54086,7 +54080,6 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, { }, _digest: function (v) { - this.value = v; return this.valueMap[v]; }, diff --git a/dist/fineui.js b/dist/fineui.js index 6752a56a4..3fb06bb08 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -54594,19 +54594,13 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, { }); this.combo.on(BI.DownListCombo.EVENT_CHANGE, function () { - var currentVal = self.combo.getValue()[0].value; - if (currentVal !== self.value) { - self.setValue(currentVal); - self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); - } + self.setValue(self.combo.getValue()[0].value); + self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); }); this.combo.on(BI.DownListCombo.EVENT_SON_VALUE_CHANGE, function () { - var currentVal = self.combo.getValue()[0].childValue; - if (currentVal !== self.value) { - self.setValue(currentVal); - self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); - } + self.setValue(self.combo.getValue()[0].childValue); + self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); }); }, @@ -54625,7 +54619,6 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, { }, _digest: function (v) { - this.value = v; return this.valueMap[v]; }, diff --git a/dist/fineui_without_jquery_polyfill.js b/dist/fineui_without_jquery_polyfill.js index 733dc043d..460bbfd85 100644 --- a/dist/fineui_without_jquery_polyfill.js +++ b/dist/fineui_without_jquery_polyfill.js @@ -37675,19 +37675,13 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, { }); this.combo.on(BI.DownListCombo.EVENT_CHANGE, function () { - var currentVal = self.combo.getValue()[0].value; - if (currentVal !== self.value) { - self.setValue(currentVal); - self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); - } + self.setValue(self.combo.getValue()[0].value); + self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); }); this.combo.on(BI.DownListCombo.EVENT_SON_VALUE_CHANGE, function () { - var currentVal = self.combo.getValue()[0].childValue; - if (currentVal !== self.value) { - self.setValue(currentVal); - self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); - } + self.setValue(self.combo.getValue()[0].childValue); + self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); }); }, @@ -37706,7 +37700,6 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, { }, _digest: function (v) { - this.value = v; return this.valueMap[v]; },