Remove tab characters
This commit is contained in:
@@ -37,15 +37,12 @@ $(document).ready(function() {
|
|||||||
.html(PMA_messages['strShowSearchCriteria'])
|
.html(PMA_messages['strShowSearchCriteria'])
|
||||||
.bind('click', function() {
|
.bind('click', function() {
|
||||||
var $link = $(this);
|
var $link = $(this);
|
||||||
//prompt("'"+$link.text()+"'");
|
|
||||||
//prompt("'"+PMA_messages['strShowSearchCriteria']+"'");
|
|
||||||
$('#db_search_form').slideToggle();
|
$('#db_search_form').slideToggle();
|
||||||
if ($link.text() == PMA_messages['strHideSearchCriteria']) {
|
if ($link.text() == PMA_messages['strHideSearchCriteria']) {
|
||||||
$link.text(PMA_messages['strShowSearchCriteria']);
|
$link.text(PMA_messages['strShowSearchCriteria']);
|
||||||
} else {
|
} else {
|
||||||
$link.text(PMA_messages['strHideSearchCriteria']);
|
$link.text(PMA_messages['strHideSearchCriteria']);
|
||||||
}
|
}
|
||||||
//var_dump("");
|
|
||||||
// avoid default click action
|
// avoid default click action
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
@@ -56,7 +53,6 @@ $(document).ready(function() {
|
|||||||
* @uses PMA_ajaxShowMessage()
|
* @uses PMA_ajaxShowMessage()
|
||||||
*/
|
*/
|
||||||
$("#db_search_form.ajax").live('submit', function(event) {
|
$("#db_search_form.ajax").live('submit', function(event) {
|
||||||
|
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
PMA_ajaxShowMessage(PMA_messages['strSearching']);
|
PMA_ajaxShowMessage(PMA_messages['strSearching']);
|
||||||
@@ -80,8 +76,7 @@ $(document).ready(function() {
|
|||||||
$('#togglesearchformdiv')
|
$('#togglesearchformdiv')
|
||||||
// now it's time to show the div containing the link
|
// now it's time to show the div containing the link
|
||||||
.show();
|
.show();
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
// error message (zero rows)
|
// error message (zero rows)
|
||||||
$("#sqlqueryresults").html(response['message']);
|
$("#sqlqueryresults").html(response['message']);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user