mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-972:The template will disappear after reordering in template section
This commit is contained in:
parent
4f479e2b23
commit
a69e7f9bf6
@ -560,8 +560,8 @@
|
||||
return $(this).index() == index;
|
||||
});
|
||||
|
||||
if ($target.index() > $tr.index()) $target.after($tr);
|
||||
else $target.before($tr);
|
||||
// if ($target.index() > $tr.index()) $target.after($tr);
|
||||
// else $target.before($tr);
|
||||
|
||||
$tr.closest('.list-view').scrollTop($tr.position().top - $tr.height() * 2);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user