mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-21591 fixed regression in JS calls
This commit is contained in:
parent
54b549e932
commit
e6a3ea28a4
@ -725,7 +725,7 @@ class page_requirements_manager {
|
||||
$output = '';
|
||||
if ($this->jscalls[$where]) {
|
||||
foreach ($this->jscalls[$where] as $data) {
|
||||
$output = js_writer::function_call($data[0], $data[1], $data[2]);
|
||||
$output .= js_writer::function_call($data[0], $data[1], $data[2]);
|
||||
}
|
||||
if (!empty($ondomready)) {
|
||||
$output = " Y.on('domready', function() {\n$output\n });";
|
||||
|
Loading…
x
Reference in New Issue
Block a user