From c7d0c6f74eb282f9c1d76610ab33162e25c0b368 Mon Sep 17 00:00:00 2001 From: Guyi Date: Wed, 9 Sep 2020 15:36:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1=EF=BC=8CBI.Down?= =?UTF-8?q?ListCombo=E9=87=8D=E5=90=8D=E4=BA=86=EF=BC=8C=E6=94=B9=E6=88=90?= =?UTF-8?q?BI.MultiLayerDownListCombo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../multilayerdownlist/combo.downlist.js | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/widget/multilayerdownlist/combo.downlist.js b/src/widget/multilayerdownlist/combo.downlist.js index abd3bcbf1..e2e333827 100644 --- a/src/widget/multilayerdownlist/combo.downlist.js +++ b/src/widget/multilayerdownlist/combo.downlist.js @@ -1,9 +1,9 @@ /** * Created by roy on 15/8/14. */ -BI.DownListCombo = BI.inherit(BI.Widget, { +BI.MultiLayerDownListCombo = BI.inherit(BI.Widget, { _defaultConfig: function () { - return BI.extend(BI.DownListCombo.superclass._defaultConfig.apply(this, arguments), { + return BI.extend(BI.MultiLayerDownListCombo.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-multilayer-down-list-combo", height: 24, items: [], @@ -17,7 +17,7 @@ BI.DownListCombo = BI.inherit(BI.Widget, { }, _init: function () { - BI.DownListCombo.superclass._init.apply(this, arguments); + BI.MultiLayerDownListCombo.superclass._init.apply(this, arguments); var self = this, o = this.options; this.popupview = BI.createWidget({ type: "bi.multi_layer_down_list_popup", @@ -26,13 +26,13 @@ BI.DownListCombo = BI.inherit(BI.Widget, { value: o.value }); - this.popupview.on(BI.DownListPopup.EVENT_CHANGE, function (value) { - self.fireEvent(BI.DownListCombo.EVENT_CHANGE, value); + this.popupview.on(BI.MultiLayerDownListPopup.EVENT_CHANGE, function (value) { + self.fireEvent(BI.MultiLayerDownListCombo.EVENT_CHANGE, value); self.downlistcombo.hideView(); }); - this.popupview.on(BI.DownListPopup.EVENT_SON_VALUE_CHANGE, function (value, fatherValue) { - self.fireEvent(BI.DownListCombo.EVENT_SON_VALUE_CHANGE, value, fatherValue); + this.popupview.on(BI.MultiLayerDownListPopup.EVENT_SON_VALUE_CHANGE, function (value, fatherValue) { + self.fireEvent(BI.MultiLayerDownListCombo.EVENT_SON_VALUE_CHANGE, value, fatherValue); self.downlistcombo.hideView(); }); @@ -60,7 +60,7 @@ BI.DownListCombo = BI.inherit(BI.Widget, { }); this.downlistcombo.on(BI.Combo.EVENT_BEFORE_POPUPVIEW, function () { - self.fireEvent(BI.DownListCombo.EVENT_BEFORE_POPUPVIEW); + self.fireEvent(BI.MultiLayerDownListCombo.EVENT_BEFORE_POPUPVIEW); }); }, @@ -83,8 +83,8 @@ BI.DownListCombo = BI.inherit(BI.Widget, { return this.popupview.getValue(); } }); -BI.DownListCombo.EVENT_CHANGE = "EVENT_CHANGE"; -BI.DownListCombo.EVENT_SON_VALUE_CHANGE = "EVENT_SON_VALUE_CHANGE"; -BI.DownListCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; +BI.MultiLayerDownListCombo.EVENT_CHANGE = "EVENT_CHANGE"; +BI.MultiLayerDownListCombo.EVENT_SON_VALUE_CHANGE = "EVENT_SON_VALUE_CHANGE"; +BI.MultiLayerDownListCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; -BI.shortcut("bi.multi_layer_down_list_combo", BI.DownListCombo); \ No newline at end of file +BI.shortcut("bi.multi_layer_down_list_combo", BI.MultiLayerDownListCombo); \ No newline at end of file