And fix the same bug with the prize order saving

This commit is contained in:
james 2011-03-28 18:38:49 +00:00
parent 497f6eddd7
commit ef46b5811b

View File

@ -463,7 +463,7 @@ function prizelist_refresh()
$("#prizelist").tableDnD({ $("#prizelist").tableDnD({
onDrop: function(table, row) { onDrop: function(table, row) {
var order = $.tableDnD.serialize(); var order = $.tableDnD.serialize();
$("#prizeinfo_info").load("<?=$_SERVER['PHP_SELF']?>?action=prize_order&"+order); $("#debug").load("<?=$_SERVER['PHP_SELF']?>?action=prize_order&"+order);
/* Change the order */ /* Change the order */
var rows = table.tBodies[0].rows; var rows = table.tBodies[0].rows;
for (var i=0; i<rows.length; i++) { for (var i=0; i<rows.length; i++) {