Browse Source

Merge pull request #985 in VISUAL/fineui from ~KIRA/fineui:master to master

* commit '016cb209c92293fa26b65e2daa8e6879ea8a0822':
  BI-46736 fix: behaviors配置成可选参数,并不是所有用到的地方都需要doredmark
master
guy 6 years ago
parent
commit
1bae31d786
  1. 13
      src/case/combo/icontextvaluecombo/popup.icontextvalue.js

13
src/case/combo/icontextvaluecombo/popup.icontextvalue.js

@ -4,7 +4,12 @@
BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
_defaultConfig: function () {
return BI.extend(BI.IconTextValueComboPopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-icon-text-icon-popup"
baseCls: "bi-icon-text-icon-popup",
behaviors: {
redmark: function () {
return true;
}
}
});
},
@ -24,11 +29,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
layouts: [{
type: "bi.vertical"
}],
behaviors: {
redmark: function () {
return true;
}
},
behaviors: o.behaviors,
value: o.value
});

Loading…
Cancel
Save