in src/components/nms/msdoc/1.6.0/vs2005/Output/scripts/CheckboxMenu.js [85:109]
CheckboxMenu.prototype.GetDropdownLabelId=function()
{
var checkboxCount = this.count;
var checkedCount = this.GetCheckedCount();
var idPrefix = this.id;
// if all boxes checked, use showall label
if (checkedCount == checkboxCount)
return idPrefix.concat("AllLabel");
// if only one is checked, use label appropriate for that one checkbox
if (checkedCount == 1)
{
for(var key in this.menuCheckboxIds)
{
if (this.data[this.menuCheckboxIds[key]] == "on")
{
return idPrefix.concat(key,'Label');
}
}
}
// if multiple or zero checked, use multiple label
return idPrefix.concat("MultipleLabel");
}