From a9369c3dcc94853aafec1d4fc4eee6904b31d162 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=91=9E?= <412285675@qq.com> Date: Thu, 30 Aug 2018 14:22:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20=E8=A7=86?= =?UTF-8?q?=E8=A7=89=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/combo/bubblecombo/popup.bubble.js | 6 +++--- .../combo/searchtextvaluecombo/combo.searchtextvalue.js | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/case/combo/bubblecombo/popup.bubble.js b/src/case/combo/bubblecombo/popup.bubble.js index f6876cae3..388a9d984 100644 --- a/src/case/combo/bubblecombo/popup.bubble.js +++ b/src/case/combo/bubblecombo/popup.bubble.js @@ -124,7 +124,7 @@ BI.shortcut("bi.bubble_bar_popup_view", BI.BubblePopupBarView); * @extends BI.BubblePopupView */ BI.TextBubblePopupBarView = BI.inherit(BI.Widget, { - + props: { baseCls: "bi-text-bubble-bar-popup-view", text: "", @@ -156,7 +156,7 @@ BI.TextBubblePopupBarView = BI.inherit(BI.Widget, { buttons: [{ type: "bi.button", value: BI.i18nText("BI-Basic_Cancel"), - ghost: true, + level: "ignore", height: 24, handler: function () { self.fireEvent(BI.BubblePopupBarView.EVENT_CLICK_TOOLBAR_BUTTON, false); @@ -185,4 +185,4 @@ BI.TextBubblePopupBarView = BI.inherit(BI.Widget, { } }); BI.TextBubblePopupBarView.EVENT_CHANGE = "EVENT_CHANGE"; -BI.shortcut("bi.text_bubble_bar_popup_view", BI.TextBubblePopupBarView); \ No newline at end of file +BI.shortcut("bi.text_bubble_bar_popup_view", BI.TextBubblePopupBarView); diff --git a/src/case/combo/searchtextvaluecombo/combo.searchtextvalue.js b/src/case/combo/searchtextvaluecombo/combo.searchtextvalue.js index 6f69997ba..95deeb26c 100644 --- a/src/case/combo/searchtextvaluecombo/combo.searchtextvalue.js +++ b/src/case/combo/searchtextvaluecombo/combo.searchtextvalue.js @@ -9,6 +9,7 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, { text: "", items: [], tipType: "", + extraCls: "", warningTitle: "", attributes: { tabIndex: 0 @@ -30,7 +31,7 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, { }, el: { type: "bi.search_text_value_trigger", - cls: "search-text-value-trigger", + cls: "search-text-value-trigger " + this.options.extraCls, ref: function () { self.trigger = this; }, @@ -153,4 +154,4 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, { }); BI.SearchTextValueCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.SearchTextValueCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; -BI.shortcut("bi.search_text_value_combo", BI.SearchTextValueCombo); \ No newline at end of file +BI.shortcut("bi.search_text_value_combo", BI.SearchTextValueCombo);