MDL-21400 finalising JS api - removing ->on_dom_ready (now bool param in js() and...
[moodle.git] / tag / edit.php
index 00aa0aa..7177579 100644 (file)
@@ -138,6 +138,6 @@ $tagform->display();
 
 if (ajaxenabled()) {
     $PAGE->requires->js('/tag/tag.js');
-    $PAGE->requires->js_function_call('init_tag_autocomplete')->on_dom_ready();
+    $PAGE->requires->js_function_call('init_tag_autocomplete', null, true);
 }
 echo $OUTPUT->footer();