diff --git a/js/functions.js b/js/functions.js index 49f6f26f9..045e55aae 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1666,7 +1666,7 @@ $(document).ready(function(){ $table=$("input[name='table']").val(); $token=$("input[name='token']").val(); $sql_query=$("input[name='sql_query']").val(); - $(".syntax").replaceWith(""); + $(".syntax").replaceWith(""); return false; }); diff --git a/libraries/header_scripts.inc.php b/libraries/header_scripts.inc.php index a1611ac0d..6d6175801 100644 --- a/libraries/header_scripts.inc.php +++ b/libraries/header_scripts.inc.php @@ -104,6 +104,9 @@ if (in_array('server_privileges.js', $GLOBALS['js_include'])) { $GLOBALS['js_messages']['strPasswordNotSame'] = $GLOBALS['strPasswordNotSame']; } +$GLOBALS['js_messages']['strGo'] = __('Go'); +$GLOBALS['js_messages']['strCancel'] = __('Cancel'); + $GLOBALS['js_include'][] = 'tooltip.js'; $GLOBALS['js_events'][] = array(