MDL-21403 removing ->asap() from $PAGE->requires, legacy stuff has no place in new api, sorry

This commit is contained in:
Petr Skoda
2010-01-26 09:01:57 +00:00
parent 8ce04d51a1
commit a62d5845ef
+1 -1
View File
@@ -3162,7 +3162,7 @@ EOT;
if ($es === null){
$es = "Infinity";
}
echo $PAGE->requires->js_function_call('update_progress_bar', Array($this->html_id, $w, $this->percent, $msg, $es))->asap();
echo html_writer::script(js_writer::function_call('update_progress_bar', Array($this->html_id, $w, $this->percent, $msg, $es)));
flush();
}
/**