[ 
https://issues.apache.org/jira/browse/SOLR-1718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828842#action_12828842
 ] 

Hoss Man commented on SOLR-1718:
--------------------------------

bq. Consider the JIRA interface we are using to comment on this issue. 

Sure, but that's an {{<input type="text" />}}, not a {{<textarea />}} ... the 
expected semantics are completely different.  With a {{<input type="text" />}} 
box the browser already takes care of submitting the form if you hit Enter (and 
FWIW: most browsers i know of also submit forms if you use "Shift-Enter" in a 
{{<textarea />}})

It sounds like what you are really suggesting is that we change the 
/admin/index.jsp form to use a {{<input type="text" />}} instead of a 
{{<textarea />}} for the "q" param, and not that we add special (javascript) 
logic to the form to submit if someone presses Enter inside the existing 
{{<textarea />}}  ... which i have a lot less objection to then going out of 
our way to violate standard form convention.

> Carriage return should submit query admin form
> ----------------------------------------------
>
>                 Key: SOLR-1718
>                 URL: https://issues.apache.org/jira/browse/SOLR-1718
>             Project: Solr
>          Issue Type: Improvement
>          Components: web gui
>    Affects Versions: 1.4
>            Reporter: David Smiley
>            Priority: Minor
>
> Hitting the carriage return on the keyboard should submit the search query on 
> the admin front screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to