diff options
Diffstat (limited to 'libraries/classes/ErrorHandler.php')
-rw-r--r-- | libraries/classes/ErrorHandler.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/classes/ErrorHandler.php b/libraries/classes/ErrorHandler.php index df25ee0cc6..07b0eed485 100644 --- a/libraries/classes/ErrorHandler.php +++ b/libraries/classes/ErrorHandler.php @@ -598,7 +598,7 @@ class ErrorHandler // send the error reports asynchronously & without asking user $jsCode .= '$("#pma_report_errors_form").submit();' . 'Functions.ajaxShowMessage( - Messages.phpErrorsBeingSubmitted, false + window.Messages.phpErrorsBeingSubmitted, false );'; // js code to appropriate focusing, $jsCode .= '$("html, body").animate({ @@ -609,7 +609,7 @@ class ErrorHandler //ask user whether to submit errors or not. if (! $response->isAjax()) { // js code to show appropriate msgs, event binding & focusing. - $jsCode = 'Functions.ajaxShowMessage(Messages.phpErrorsFound);' + $jsCode = 'Functions.ajaxShowMessage(window.Messages.phpErrorsFound);' . '$("#pma_ignore_errors_popup").on("click", function() { Functions.ignorePhpErrors() });' |