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