Opened 13 years ago

Closed 12 years ago

#662 closed defect (fixed)

Can't initiate search using the ENTER key

Reported by: murrayh Owned by: geonetwork-devel@…
Priority: minor Milestone: v2.8.0 RC1
Component: User interface (web) Version:
Keywords: search ENTER Cc:

Description

Version: GeoNetwork 2.7 svn rev 8285.

Initiate a search query using the ENTER key. The search results appear briefly, and then the page refreshes and the search results are lost. To be able to search, you must initiate a search using the mouse.

Change History (2)

comment:1 by ianwallen, 12 years ago

Based on some testing, the bug seem to be related to the following.

http://stackoverflow.com/questions/1370021/enter-key-on-a-form-with-a-single-input-field-will-automatically-submit-with-ge

The fix seems to be to create a dummy input box and then hiding it using JavaScript/css.

comment:2 by ianwallen, 12 years ago

Milestone: Future releasev2.8.0 RC1
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.