summaryrefslogtreecommitdiffstats
path: root/provisioning-searchbyextension-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2011-06-09 12:00:56 +0000
committerTed Trask <ttrask01@yahoo.com>2011-06-09 12:00:56 +0000
commitdf6a1e03da2facd5a8b64484948eb943afd604cd (patch)
tree0d036e56ab9dc466b97b82e29ed8ae66f46c8218 /provisioning-searchbyextension-html.lsp
parenta6e88583802a69843c06b58a0b0689120451542a (diff)
downloadacf-provisioning-df6a1e03da2facd5a8b64484948eb943afd604cd.tar.bz2
acf-provisioning-df6a1e03da2facd5a8b64484948eb943afd604cd.tar.xz
Enable autofocus and submit on enter for searchdevices
Diffstat (limited to 'provisioning-searchbyextension-html.lsp')
-rw-r--r--provisioning-searchbyextension-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/provisioning-searchbyextension-html.lsp b/provisioning-searchbyextension-html.lsp
index 2677bc5..bf7b8ab 100644
--- a/provisioning-searchbyextension-html.lsp
+++ b/provisioning-searchbyextension-html.lsp
@@ -8,7 +8,7 @@ require("viewfunctions")
$("input[name='value']").focus();
$('input').keydown(function(e){
if (e.keyCode == 13) {
- $("input[name='Search']").click();
+ $(this).parents('form').find('input.submit').click();
return false;
}
});