mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-27 07:44:05 +02:00
js: fix sortable set with no extending element
This commit is contained in:
parent
d3957c276c
commit
1d243e0aaf
@ -66,7 +66,11 @@
|
||||
fixRelatedActions: function($ul)
|
||||
{
|
||||
var $uls = $ul.find('li');
|
||||
var last = $uls.length -2;
|
||||
var last = $uls.length - 1;
|
||||
if ($ul.find('.extend-set').length) {
|
||||
last--;
|
||||
}
|
||||
|
||||
$uls.each(function (idx, li) {
|
||||
var $li = $(li);
|
||||
if (idx === 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user