MDL-8544 Fixed wiki locking require_js usage

This commit is contained in:
sam_marshall 2007-02-16 14:31:27 +00:00
parent 0813712fb8
commit 434170fe71

View File

@ -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;