Repository: cloudstack Updated Branches: refs/heads/master e9460d23d -> e2b13a344
CLOUDSTACK-6120: UI > listView widget > reorder list > drap to new position > fix a JS error "map1 is undefined". Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/e2b13a34 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/e2b13a34 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/e2b13a34 Branch: refs/heads/master Commit: e2b13a344ae35e78de56dd68a19113df8e7a10d5 Parents: e9460d2 Author: Jessica Wang <[email protected]> Authored: Thu Feb 20 13:35:52 2014 -0800 Committer: Jessica Wang <[email protected]> Committed: Thu Feb 20 13:35:52 2014 -0800 ---------------------------------------------------------------------- ui/scripts/ui/widgets/listView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e2b13a34/ui/scripts/ui/widgets/listView.js ---------------------------------------------------------------------- diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js index 9e399e1..2a663a1 100644 --- a/ui/scripts/ui/widgets/listView.js +++ b/ui/scripts/ui/widgets/listView.js @@ -1210,7 +1210,7 @@ }, stop: function(event, ui) { rowActions._std($tr, function() {}); - + var map1 = {}; $tr.closest('tbody').find('tr').each(function() { /* * fire only one sorting API call(updateXXXXXXX&sortKey=n&id=UUID) for items who have the same UUID.
