From 29b8ec66a4cda8e7e33f1a84545ad1c185c67c83 Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Fri, 5 Oct 2007 07:39:55 +0000 Subject: [PATCH] initialize $js_messages, now you can add JavaScript messages and libraries at any point in phpMyAdmin (before HTML headers are sent) --- libraries/common.inc.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libraries/common.inc.php b/libraries/common.inc.php index 2010f7b46..b4d7112e6 100644 --- a/libraries/common.inc.php +++ b/libraries/common.inc.php @@ -447,6 +447,13 @@ $_REQUEST['js_frame'] = PMA_ifSetOr($_REQUEST['js_frame'], ''); */ $GLOBALS['js_include'] = array(); +/** + * holds locale messages required by JavaScript function + * @global array $js_messages + */ +$GLOBALS['js_messages'] = array(); + + /******************************************************************************/ /* parsing configuration file LABEL_parsing_config_file */