diff options
Diffstat (limited to 'libraries/classes/Controllers/JavaScriptMessagesController.php')
-rw-r--r-- | libraries/classes/Controllers/JavaScriptMessagesController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/classes/Controllers/JavaScriptMessagesController.php b/libraries/classes/Controllers/JavaScriptMessagesController.php index 2d4eeb6ad7..952b7671aa 100644 --- a/libraries/classes/Controllers/JavaScriptMessagesController.php +++ b/libraries/classes/Controllers/JavaScriptMessagesController.php @@ -31,7 +31,7 @@ final class JavaScriptMessagesController return; } - echo 'var Messages = ' . $messages . ';'; + echo 'window.Messages = ' . $messages . ';'; } /** |