]> git.mjollnir.org Git - moodle.git/commitdiff
Merged from 1.7
authorvyshane <vyshane>
Tue, 14 Nov 2006 02:07:59 +0000 (02:07 +0000)
committervyshane <vyshane>
Tue, 14 Nov 2006 02:07:59 +0000 (02:07 +0000)
lib/ajax/section_classes.js

index 32b558f3c9ec98a806ed2370aa3a4b560a6841e4..252eb971c6df057faabf9ae1d740ab8397a3f137 100755 (executable)
@@ -506,7 +506,7 @@ resource_class.prototype.init_buttons = function() {
 
     for (var x=0; x<buttons.length; x++) {
         if (buttons[x].title == main.portal.strings['update']) {
-            updateButton = buttons[x];
+            updateButton = buttons[x].cloneNode(true);
         }
     }