minor fixes

This commit is contained in:
SJ
2012-09-18 15:54:48 +02:00
parent 453d20adc5
commit 7de23a3b1d
4 changed files with 11 additions and 6 deletions

View File

@ -63,6 +63,14 @@
'target':document
});
shortcut.add("Enter", function() {
var a=document.getElementById('ref'); if(a) a.value=''; load_search_results('<?php print SEARCH_HELPER_URL; ?>', assemble_search_term(count, ''), 0);
},{
'type':'keydown',
'propagate':true,
'target':document
});
</script>