Avoid recreating a jQuery object
Remove tab characters
This commit is contained in:
@@ -141,14 +141,18 @@ function PMA_setCookie(name, value, expires, path, domain, secure) {
|
|||||||
/**
|
/**
|
||||||
* hide all LI elements with second A tag which doesn`t contain requested value
|
* hide all LI elements with second A tag which doesn`t contain requested value
|
||||||
*
|
*
|
||||||
* @param string value requested value
|
* @param string value requested value
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
function fast_filter(value){
|
function fast_filter(value){
|
||||||
$("#subel0 a[class!='tableicon']").each(function(idx,elem){
|
$("#subel0 a[class!='tableicon']").each(function(idx,elem){
|
||||||
if(value && $(elem).html().indexOf(value)==-1) $(elem).parent().hide();
|
$elem = $(elem);
|
||||||
else $(elem).parent().show();
|
if (value && $elem.html().indexOf(value) == -1) {
|
||||||
});
|
$elem.parent().hide();
|
||||||
|
} else {
|
||||||
|
$elem.parent().show();
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -290,7 +290,7 @@ if ($GLOBALS['cfg']['LeftFrameLight'] && strlen($GLOBALS['db'])) {
|
|||||||
?>
|
?>
|
||||||
<span id="NavFilter">
|
<span id="NavFilter">
|
||||||
<span id="clear_fast_filter" title="<?php echo __('Clear'); ?>">X</span>
|
<span id="clear_fast_filter" title="<?php echo __('Clear'); ?>">X</span>
|
||||||
<input type="text" name="fast_filter" id="fast_filter" title="<?php echo __('Filter'); ?>" value="<?php echo __('filter tables by name'); ?>" />
|
<input type="text" name="fast_filter" id="fast_filter" title="<?php echo __('Filter'); ?>" value="<?php echo __('filter tables by name'); ?>" />
|
||||||
</span>
|
</span>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
@@ -1394,24 +1394,24 @@ table#serverconnection_trg_local {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#NavFilter {
|
#NavFilter {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#clear_fast_filter {
|
#clear_fast_filter {
|
||||||
background: white;
|
background: white;
|
||||||
color: black;
|
color: black;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 3px 5px 0 -23px;
|
margin: 3px 5px 0 -23px;
|
||||||
position: relative;
|
position: relative;
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
#fast_filter {
|
#fast_filter {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding:2px 0px;
|
padding:2px 0px;
|
||||||
margin:0;
|
margin:0;
|
||||||
border:0;
|
border:0;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Validation error message styles
|
* Validation error message styles
|
||||||
|
@@ -239,22 +239,22 @@ div#left_tableList ul ul {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#NavFilter {
|
#NavFilter {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#clear_fast_filter {
|
#clear_fast_filter {
|
||||||
background: white;
|
background: white;
|
||||||
color: black;
|
color: black;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 3px 5px 0 -23px;
|
margin: 3px 5px 0 -23px;
|
||||||
position: relative;
|
position: relative;
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
#fast_filter {
|
#fast_filter {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding:2px 0px;
|
padding:2px 0px;
|
||||||
margin:0;
|
margin:0;
|
||||||
border:0;
|
border:0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user