From dff4e25c552e360ccbbbf5f11cad1294916be029 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Mon, 1 Aug 2011 15:05:18 +0200 Subject: [PATCH 1/7] inline editing a SQL query doesn't work if it's too long Signed-off-by: Sven Strickroth --- libraries/common.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 61f5aa6936..d812262c0b 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1182,7 +1182,7 @@ function PMA_showMessage($message, $sql_query = null, $type = 'notice', $is_view // in the tools div, only display the Inline link when not in ajax // mode because 1) it currently does not work and 2) we would // have two similar mechanisms on the page for the same goal - if ($is_select || $GLOBALS['is_ajax_request'] === false) { + if ($is_select || $GLOBALS['is_ajax_request'] === false && ! $query_too_big) { // see in js/functions.js the jQuery code attached to id inline_edit // document.write conflicts with jQuery, hence used $().append() echo "