From 434170fe7108dc3ab832e6061ea8ec45b209341e Mon Sep 17 00:00:00 2001 From: sam_marshall Date: Fri, 16 Feb 2007 14:31:27 +0000 Subject: [PATCH] MDL-8544 Fixed wiki locking require_js usage --- mod/wiki/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/wiki/view.php b/mod/wiki/view.php index 163836370cc..49cb7e219fb 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;