|
|
@ -19,8 +19,8 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, { |
|
|
|
this.indicator = BI.createWidget({ |
|
|
|
this.indicator = BI.createWidget({ |
|
|
|
type: "bi.icon_button", |
|
|
|
type: "bi.icon_button", |
|
|
|
cls: "check-font trigger-check-selected icon-size-12", |
|
|
|
cls: "check-font trigger-check-selected icon-size-12", |
|
|
|
width: 15, |
|
|
|
width: 16, |
|
|
|
height: 15, |
|
|
|
height: 16, |
|
|
|
stopPropagation: true |
|
|
|
stopPropagation: true |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
@ -31,7 +31,6 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, { |
|
|
|
hgap: 4, |
|
|
|
hgap: 4, |
|
|
|
text: BI.i18nText("BI-Check_Selected"), |
|
|
|
text: BI.i18nText("BI-Check_Selected"), |
|
|
|
textAlign: "center", |
|
|
|
textAlign: "center", |
|
|
|
textHeight: 15 |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
this.checkSelected.on(BI.Controller.EVENT_CHANGE, function () { |
|
|
|
this.checkSelected.on(BI.Controller.EVENT_CHANGE, function () { |
|
|
|
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); |
|
|
|
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); |
|
|
@ -65,4 +64,4 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, { |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
BI.MultiTreeCheckSelectedButton.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
BI.MultiTreeCheckSelectedButton.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
BI.shortcut("bi.multi_tree_check_selected_button", BI.MultiTreeCheckSelectedButton); |
|
|
|
BI.shortcut("bi.multi_tree_check_selected_button", BI.MultiTreeCheckSelectedButton); |
|
|
|