Browse Source

chore: 整理代码

es6
guy 3 years ago
parent
commit
9121917b3b
  1. 2
      src/base/layer/layer.popover.js
  2. 4
      src/case/combo/bubblecombo/popup.bubble.js
  3. 2
      src/case/layer/layer.multipopup.js
  4. 2
      src/widget/multiselect/multiselect.popup.view.js
  5. 2
      src/widget/multiselect/multiselect.popup.view.nobar.js
  6. 2
      src/widget/multitree/multi.tree.popup.js
  7. 2
      src/widget/searchmultitextvaluecombo/multitextvalue.popup.view.search.js

2
src/base/layer/layer.popover.js

@ -233,7 +233,7 @@ BI.shortcut("bi.popover", BI.Popover);
BI.BarPopover = BI.inherit(BI.Popover, {
_defaultConfig: function () {
return BI.extend(BI.BarPopover.superclass._defaultConfig.apply(this, arguments), {
btns: [BI.i18nText("BI-Basic_Sure"), BI.i18nText("BI-Basic_Cancel")]
btns: [BI.i18nText("BI-Basic_OK"), BI.i18nText("BI-Basic_Cancel")]
});
},

4
src/case/combo/bubblecombo/popup.bubble.js

@ -33,7 +33,7 @@ BI.BubblePopupBarView = BI.inherit(BI.BubblePopupView, {
text: BI.i18nText("BI-Basic_Cancel"),
ghost: true
}, {
text: BI.i18nText(BI.i18nText("BI-Basic_Sure")),
text: BI.i18nText(BI.i18nText("BI-Basic_OK")),
value: true
}]
});
@ -112,7 +112,7 @@ BI.TextBubblePopupBarView = BI.inherit(BI.Widget, {
}, {
value: true,
stopPropagation: true,
text: BI.i18nText("BI-Basic_Sure")
text: BI.i18nText("BI-Basic_OK")
}]
};
},

2
src/case/layer/layer.multipopup.js

@ -10,7 +10,7 @@ BI.MultiPopupView = BI.inherit(BI.PopupView, {
var conf = BI.MultiPopupView.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, {
_baseCls: (conf._baseCls || "") + " bi-multi-list-view",
buttons: [BI.i18nText("BI-Basic_Sure")]
buttons: [BI.i18nText("BI-Basic_OK")]
});
},

2
src/widget/multiselect/multiselect.popup.view.js

@ -38,7 +38,7 @@ BI.MultiSelectPopupView = BI.inherit(BI.Widget, {
minWidth: opts.minWidth,
maxHeight: opts.maxHeight,
element: this,
buttons: [BI.i18nText("BI-Basic_Clears"), BI.i18nText("BI-Basic_Sure")],
buttons: [BI.i18nText("BI-Basic_Clears"), BI.i18nText("BI-Basic_OK")],
el: this.loader,
value: opts.value
});

2
src/widget/multiselect/multiselect.popup.view.nobar.js

@ -38,7 +38,7 @@ BI.MultiSelectNoBarPopupView = BI.inherit(BI.Widget, {
minWidth: opts.minWidth,
maxHeight: opts.maxHeight,
element: this,
buttons: [BI.i18nText("BI-Basic_Clears"), BI.i18nText("BI-Basic_Sure")],
buttons: [BI.i18nText("BI-Basic_Clears"), BI.i18nText("BI-Basic_OK")],
el: this.loader,
value: opts.value
});

2
src/widget/multitree/multi.tree.popup.js

@ -42,7 +42,7 @@ BI.MultiTreePopup = BI.inherit(BI.Pane, {
maxWidth: opts.maxWidth,
minWidth: opts.minWidth,
maxHeight: opts.maxHeight,
buttons: [BI.i18nText("BI-Basic_Clears"), BI.i18nText("BI-Basic_Sure")],
buttons: [BI.i18nText("BI-Basic_Clears"), BI.i18nText("BI-Basic_OK")],
el: this.tree
});

2
src/widget/searchmultitextvaluecombo/multitextvalue.popup.view.search.js

@ -31,7 +31,7 @@ BI.SearchMultiSelectPopupView = BI.inherit(BI.Widget, {
minWidth: opts.minWidth,
maxHeight: opts.maxHeight,
element: this,
buttons: [BI.i18nText("BI-Basic_Clears"), BI.i18nText("BI-Basic_Sure")],
buttons: [BI.i18nText("BI-Basic_Clears"), BI.i18nText("BI-Basic_OK")],
el: this.loader,
value: opts.value
});

Loading…
Cancel
Save