mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-26 11:19:14 +02:00
dashboards.js: Remove some unnecessary codes
This commit is contained in:
parent
d05b8d9e2f
commit
707de5c4da
@ -144,15 +144,12 @@
|
|||||||
|
|
||||||
switch (groupName) {
|
switch (groupName) {
|
||||||
case _this.widgetTypes.DashboardHome:
|
case _this.widgetTypes.DashboardHome:
|
||||||
groupName = _this.widgetTypes.DashboardHome;
|
|
||||||
draggable = '.home-list-control';
|
draggable = '.home-list-control';
|
||||||
break;
|
break;
|
||||||
case _this.widgetTypes.Dashboard:
|
case _this.widgetTypes.Dashboard:
|
||||||
groupName = _this.widgetTypes.Dashboard;
|
|
||||||
draggable = '.dashboard-list-control';
|
draggable = '.dashboard-list-control';
|
||||||
break;
|
break;
|
||||||
case _this.widgetTypes.Dashlet:
|
case _this.widgetTypes.Dashlet:
|
||||||
groupName = _this.widgetTypes.Dashlet;
|
|
||||||
draggable = '.dashlet-list-item';
|
draggable = '.dashlet-list-item';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user