Search after pressing 'Enter' key
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2016 10:04 AM
Hi all,
I would like searching pressing the "Enter" in the "Advanced Search" form. It's meaning when I press the "Enter" key the search starts like when the "Search" button is clicked.
I'm testing it editing the file "forms-runtime.js" but it doesn't work. Do you know if this is the file to edit? How can I solve it?
Thanks a lot.
Kind regards
I would like searching pressing the "Enter" in the "Advanced Search" form. It's meaning when I press the "Enter" key the search starts like when the "Search" button is clicked.
I'm testing it editing the file "forms-runtime.js" but it doesn't work. Do you know if this is the file to edit? How can I solve it?
Thanks a lot.
Kind regards
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2016 12:37 PM
I've just resolved it. I edited the line 170 of the files "advsearch_noiframe.js" and "advsearch_noiframe-min.js" located in "..\resources\components\search\".
I changed this line
That is all.
Good bye!
I changed this line
"var queryInput = Dom.get(this.id + "-search-text");"
for this line var queryInput = Dom.get(this.id);
That is all.
Good bye!
