windy 5 years ago
parent
commit
37b0db2b08
  1. 3
      src/core/alias.js
  2. 2
      src/widget/multitree/multi.tree.combo.js

3
src/core/alias.js

@ -416,7 +416,8 @@
"&": "&", "&": "&",
"\"": """, "\"": """,
"<": "&lt;", "<": "&lt;",
">": "&gt;" ">": "&gt;",
" ": "&nbsp;"
}; };
BI.htmlEncode = function (text) { BI.htmlEncode = function (text) {
return BI.isNull(text) ? "" : BI.replaceAll(text + "", "&|\"|<|>|\\s", function (v) { return BI.isNull(text) ? "" : BI.replaceAll(text + "", "&|\"|<|>|\\s", function (v) {

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

@ -85,7 +85,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
}; };
self.trigger.getSearcher().setState(val); self.trigger.getSearcher().setState(val);
self.numberCounter.setButtonChecked(val); self.numberCounter.setButtonChecked(val);
self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM); self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM, self.combo.getValue());
} }
}, { }, {
eventName: BI.MultiTreePopup.EVENT_CLICK_CONFIRM, eventName: BI.MultiTreePopup.EVENT_CLICK_CONFIRM,

Loading…
Cancel
Save