diff --git a/js/functions.js b/js/functions.js index 045e55aae..99cc5c587 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1667,6 +1667,8 @@ $(document).ready(function(){ $token=$("input[name='token']").val(); $sql_query=$("input[name='sql_query']").val(); $(".syntax").replaceWith(""); + // to help seeing the buttons without scrolling + $('#sql_query_edit').css({height: '6em', width: '75%'}); return false; }); diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 3a53d0475..816bdbe46 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1270,11 +1270,15 @@ function PMA_showMessage($message, $sql_query = null, $type = 'notice', $is_view if (! empty($refresh_link)) { PMA_profilingCheckbox($sql_query); } - $inline_edit = ""; + "]');\n" . + "//]]>\n" . + ""; echo $inline_edit . $edit_link . $explain_link . $php_link . $refresh_link . $validate_link; echo ''; }