MDL-21403 removing ->asap() from $PAGE->requires, legacy stuff has no place in new api, sorry
This commit is contained in:
+1
-1
@@ -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();
|
||||
}
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user