]> git.mjollnir.org Git - moodle.git/commitdiff
updates to accommodate changes to commands.php
authorcap2501 <cap2501>
Tue, 5 Sep 2006 00:50:08 +0000 (00:50 +0000)
committercap2501 <cap2501>
Tue, 5 Sep 2006 00:50:08 +0000 (00:50 +0000)
lib/ajax/block_classes.js

index da4f0df5124007665491a45bcae8f4eda438b356..f413dd68ea6456fdac15f6f7b56dcfb71d1b22a5 100644 (file)
@@ -316,8 +316,8 @@ column_class.prototype.insert_block = function(el,targetel){
         }
         
         if(!found){//insert at end
-            this.add_block(el);
             el.update_index(this.blocks.length,this.ident);
+            this.add_block(el);            
         }
     }