forked from science-ation/science-ation
fix a bug in saving the award order (we need to .load on a div that actually exists)
This commit is contained in:
parent
75e7d4e574
commit
497f6eddd7
@ -905,7 +905,7 @@ function awardlist_refresh()
|
|||||||
onDrop: function(table, row) {
|
onDrop: function(table, row) {
|
||||||
var order = $.tableDnD.serialize();
|
var order = $.tableDnD.serialize();
|
||||||
// $(row).fadeTo('fast',1);
|
// $(row).fadeTo('fast',1);
|
||||||
$("#award_info").load("<?=$_SERVER['PHP_SELF']?>?action=award_order&"+order);
|
$("#debug").load("<?=$_SERVER['PHP_SELF']?>?action=award_order&"+order);
|
||||||
|
|
||||||
/* Change the order */
|
/* Change the order */
|
||||||
var rows = table.tBodies[0].rows;
|
var rows = table.tBodies[0].rows;
|
||||||
|
Loading…
Reference in New Issue
Block a user