Bind clear event in javascript.
This commit is contained in:
@@ -187,4 +187,5 @@ function clear_fast_filter() {
|
||||
jQuery(document).ready(function(){
|
||||
/* Display filter */
|
||||
jQuery('#NavFilter').css('display', 'inline');
|
||||
jQuery('#clear_fast_filter').click(clear_fast_filter);
|
||||
});
|
||||
|
@@ -321,9 +321,7 @@ if ($GLOBALS['cfg']['LeftFrameLight'] && strlen($GLOBALS['db'])) {
|
||||
title="<?php echo $strNavTableFilter; ?>"
|
||||
onkeyup="setTimeout(function(word){ return function(){ fast_filter(word);}}(this.value),1000);"
|
||||
onfocus="this.select();" />
|
||||
<span id="clear_fast_filter"
|
||||
onclick="clear_fast_filter();"
|
||||
title="<?php echo $strReset; ?>">X</span>
|
||||
<span id="clear_fast_filter" title="<?php echo $strReset; ?>">X</span>
|
||||
</span>
|
||||
<?php
|
||||
}
|
||||
|
Reference in New Issue
Block a user