|
|
@ -51,6 +51,14 @@ BI.MultiSelectCheckSelectedButton = BI.inherit(BI.Single, { |
|
|
|
o.itemsCreator({ |
|
|
|
o.itemsCreator({ |
|
|
|
type: BI.MultiSelectCombo.REQ_GET_DATA_LENGTH |
|
|
|
type: BI.MultiSelectCombo.REQ_GET_DATA_LENGTH |
|
|
|
}, function (res) { |
|
|
|
}, 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; |
|
|
|
var length = res.count - ob.value.length; |
|
|
|
BI.nextTick(function () { |
|
|
|
BI.nextTick(function () { |
|
|
|
self.numberCounter.setText(length); |
|
|
|
self.numberCounter.setText(length); |
|
|
@ -88,4 +96,4 @@ BI.MultiSelectCheckSelectedButton = BI.inherit(BI.Single, { |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
BI.MultiSelectCheckSelectedButton.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
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); |
|
|
|