mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 00:34:03 +02:00
parent
1c4a5ce86f
commit
540a8c7aa4
@ -480,6 +480,13 @@
|
||||
provideSelectionCount: function() {
|
||||
var $count = $('.selection-info-count');
|
||||
|
||||
console.log(selectionData);
|
||||
|
||||
if (typeof selectionData === 'undefined' || selectionData === null) {
|
||||
$count.text(0);
|
||||
return;
|
||||
}
|
||||
|
||||
if (typeof selectionData === 'string') {
|
||||
$count.text(1);
|
||||
} else if (selectionData.length > 1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user