|
|
|
@ -51,6 +51,14 @@ BI.MultiSelectCheckSelectedButton = BI.inherit(BI.Single, {
|
|
|
|
|
o.itemsCreator({ |
|
|
|
|
type: BI.MultiSelectCombo.REQ_GET_DATA_LENGTH |
|
|
|
|
}, function (res) { |
|
|
|
|
if (BI.isNotEmptyString(res.count)) { |
|
|
|
|
BI.nextTick(function () { |
|
|
|
|
self.numberCounter.setText(res.count); |
|
|
|
|
self.setVisible(true); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
var length = res.count - ob.value.length; |
|
|
|
|
BI.nextTick(function () { |
|
|
|
|
self.numberCounter.setText(length); |
|
|
|
@ -88,4 +96,4 @@ BI.MultiSelectCheckSelectedButton = BI.inherit(BI.Single, {
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
BI.MultiSelectCheckSelectedButton.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
|
BI.shortcut("bi.multi_select_check_selected_button", BI.MultiSelectCheckSelectedButton); |
|
|
|
|
BI.shortcut("bi.multi_select_check_selected_button", BI.MultiSelectCheckSelectedButton); |
|
|
|
|