]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-8544 Fixed wiki locking require_js usage
authorsam_marshall <sam_marshall>
Fri, 16 Feb 2007 14:31:27 +0000 (14:31 +0000)
committersam_marshall <sam_marshall>
Fri, 16 Feb 2007 14:31:27 +0000 (14:31 +0000)
mod/wiki/view.php

index 163836370cca17c411fff9c4ed0837b42fd2b6a5..49cb7e219fbdb376e5b18153e12d4de240839c72 100644 (file)
             }
         } else {
                        // OK, the page is now locked to us. Put in the AJAX for keeping the lock
-            require_js(array('yui_yahoo','yui_connection'));
+            print require_js(array('yui_yahoo','yui_connection'));
             $strlockcancelled=get_string('lockcancelled','wiki');
             $strnojslockwarning=get_string('nojslockwarning','wiki');
             $intervalms=WIKI_LOCK_RECONFIRM*1000;