Browse Source

Pull request #2627: 无JIRA任务 点击arrow_node小三角触发两次controller

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit '42d72428ec6a3c141a9540b0ab598e91ffa72584':
  无JIRA任务 点击arrow_node小三角触发两次controller
es6
Teller 3 years ago
parent
commit
aed9eae315
  1. 6
      src/case/button/node/node.arrow.js

6
src/case/button/node/node.arrow.js

@ -22,12 +22,6 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
this.checkbox = BI.createWidget({
type: "bi.arrow_group_node_checkbox"
});
this.checkbox.on(BI.Controller.EVENT_CHANGE, function (type) {
if (type === BI.Events.CLICK) {
self.setSelected(self.isSelected());
}
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
});
return {
type: "bi.vertical_adapt",
columnSize: [o.iconWrapperWidth || o.height, "fill"],

Loading…
Cancel
Save