The branch, master has been updated
via 4c7aa9cfee0f6135501242fb5708cfed40cc6be0 (commit)
from 624ec9c5f9ddeb2394b206ba38f500a7d5181f0a (commit)
- Log -----------------------------------------------------------------
commit 4c7aa9cfee0f6135501242fb5708cfed40cc6be0
Author: Marc Delisle <[email protected]>
Date: Sat Feb 19 11:20:11 2011 -0500
No need to show the "Hide query box" initially
-----------------------------------------------------------------------
Summary of changes:
js/sql.js | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/js/sql.js b/js/sql.js
index be6a7ab..219b28c 100644
--- a/js/sql.js
+++ b/js/sql.js
@@ -192,12 +192,15 @@ $(document).ready(function() {
if (! $('#sqlqueryform').find('a').is('#togglequerybox')) {
$('<a id="togglequerybox"></a>')
.html(PMA_messages['strHideQueryBox'])
- .appendTo("#sqlqueryform");
+ .appendTo("#sqlqueryform")
+ // initially hidden because at this point, nothing else
+ // appears under the link
+ .hide();
// Attach the toggling of the query box visibility to a click
$("#togglequerybox").bind('click', function() {
var $link = $(this)
- $link.siblings().slideToggle("medium");
+ $link.siblings().slideToggle("fast");
if ($link.text() == PMA_messages['strHideQueryBox']) {
$link.text(PMA_messages['strShowQueryBox']);
} else {
@@ -263,6 +266,7 @@ $(document).ready(function() {
$('#sqlqueryresults').show();
$("#sqlqueryresults").html(data);
$("#sqlqueryresults").trigger('appendAnchor');
+ $('#togglequerybox').show();
if($("#togglequerybox").siblings(":visible").length > 0) {
$("#togglequerybox").trigger('click');
}
hooks/post-receive
--
phpMyAdmin
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git