neopolimatrix search on enter
This commit is contained in:
parent
71f6f2d32a
commit
87da3bd1c3
@ -1,3 +1,4 @@
|
||||
auxiliary.org-netbeans-modules-php-smarty.smarty-framework=true
|
||||
include.path=${php.global.include.path}
|
||||
php.version=PHP_54
|
||||
source.encoding=UTF-8
|
||||
|
||||
@ -15,7 +15,13 @@ function impressum(){
|
||||
function search(){
|
||||
$("#nav_search_btn").click(function(){
|
||||
$('#contentframe').load('./?page=search¶m='+$('#nav_search').val());
|
||||
});
|
||||
});
|
||||
$(document).keypress(function(e) {
|
||||
var hasFocus = $('#nav_search').is(':focus');
|
||||
if(e.which === 13 && hasFocus) {
|
||||
$('#contentframe').load('./?page=search¶m='+$('#nav_search').val());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function tabs(){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user