Separate function for clearing input.
This commit is contained in:
@@ -173,6 +173,16 @@ function fast_filter(value){
|
||||
document.getElementById('fast_filter').disabled=false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Clears fast filter.
|
||||
*/
|
||||
function clear_fast_filter() {
|
||||
var elm = jQuery('#NavFilter input');
|
||||
elm.val('');
|
||||
fast_filter('');
|
||||
elm.focus();
|
||||
}
|
||||
|
||||
/* Performed on load */
|
||||
jQuery(document).ready(function(){
|
||||
/* Display filter */
|
||||
|
Reference in New Issue
Block a user