CLOUDSTACK-972:The template will disappear after reordering in template section

This commit is contained in:
Pranav Saxena 2013-01-17 00:02:11 +05:30
parent 4f479e2b23
commit a69e7f9bf6

View File

@ -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);