forked from science-ation/science-ation
And fix the same bug with the prize order saving
This commit is contained in:
parent
497f6eddd7
commit
ef46b5811b
@ -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++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user