CLOUDSTACK-6120: UI > listView widget > reorder list > drap to new position > fix a JS error "map1 is undefined".

This commit is contained in:
Jessica Wang 2014-02-20 13:35:52 -08:00
parent e9460d23d5
commit e2b13a344a

View File

@ -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.