From: sam_marshall Date: Fri, 16 Feb 2007 14:31:27 +0000 (+0000) Subject: MDL-8544 Fixed wiki locking require_js usage X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=434170fe7108dc3ab832e6061ea8ec45b209341e;p=moodle.git MDL-8544 Fixed wiki locking require_js usage --- diff --git a/mod/wiki/view.php b/mod/wiki/view.php index 163836370c..49cb7e219f 100644 --- a/mod/wiki/view.php +++ b/mod/wiki/view.php @@ -449,7 +449,7 @@ } } 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;