You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by mc...@apache.org on 2013/01/17 06:58:29 UTC

[8/16] git commit: CLOUDSTACK-972:The template will disappear after reordering in template section

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


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/a69e7f9b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/a69e7f9b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/a69e7f9b

Branch: refs/heads/api_limit
Commit: a69e7f9bf605079968a7e3a7facdede167504aa4
Parents: 4f479e2
Author: Pranav Saxena <pr...@citrix.com>
Authored: Thu Jan 17 00:02:11 2013 +0530
Committer: Pranav Saxena <pr...@citrix.com>
Committed: Thu Jan 17 00:02:11 2013 +0530

----------------------------------------------------------------------
 ui/scripts/ui/widgets/listView.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/a69e7f9b/ui/scripts/ui/widgets/listView.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js
index 85523ea..9e16ec2 100644
--- a/ui/scripts/ui/widgets/listView.js
+++ b/ui/scripts/ui/widgets/listView.js
@@ -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);