Hi Marc
Dne Thu, 1 Apr 2010 14:31:13 +0000
"Marc Delisle" <lem9(a)users.sourceforge.net> napsal(a):
diff --git a/js/functions.js b/js/functions.js
index 045e55a..99cc5c5 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("<textarea
name=\"sql_query_edit\" id=\"sql_query_edit\">"+ $sql_query
+"</textarea><input type=\"button\" id=\"btnSave\"
value=\"" + PMA_messages['strGo'] + "\"><input
type=\"button\" id=\"btnDiscard\" value=\"" +
PMA_messages['strCancel'] + "\">");
+ // to help seeing the buttons without scrolling
+ $('#sql_query_edit').css({height: '6em', width: '75%'});
There is already CSS for in #sql_query_edit in themes so it should be
rather changed there. Also the original values did work fine for
me :-).
Sorry, I probably had older CSS. It was obeying the $cfg['TextareaRows'].
Will revert this and test again.
--
Marc Delisle