From: cap2501 Date: Tue, 29 Aug 2006 01:35:01 +0000 (+0000) Subject: updates to accommodate retooled command.php X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=04ba9d5330dbf828d5261071cdb06df9cbd8b761;p=moodle.git updates to accommodate retooled command.php --- diff --git a/lib/ajax/block_classes.js b/lib/ajax/block_classes.js index 6b7c9cfdc6..da4f0df512 100644 --- a/lib/ajax/block_classes.js +++ b/lib/ajax/block_classes.js @@ -245,7 +245,7 @@ block_class.prototype.delete_button = function(){ block_class.prototype.update_index = function(index,columnId){ //update via AJAX the db representation of page - main.connectQueue_add('post','class=block&field=position',null,'value='+columnId+'&weight='+index+'&instanceId='+this.instanceId); + main.connectQueue_add('post','class=block&field=position',null,'value='+index+'&column='+columnId+'&instanceId='+this.instanceId); if(this.debug)YAHOO.log("updating position of "+this.getEl().id+" to index "+index+" on column "+columnId); }