sohami commented on a change in pull request #1634: DRILL-6979: Added autofocus 
attribute to username on login page, and to query tex…
URL: https://github.com/apache/drill/pull/1634#discussion_r254517223
 
 

 ##########
 File path: exec/java-exec/src/main/resources/rest/query/query.ftl
 ##########
 @@ -74,7 +74,7 @@
       <div style="display: inline-block"><label for="query">Query</label></div>
       <div style="display: inline-block; float:right; 
padding-right:5%"><b>Hint: </b>Use <div id="keyboardHint" 
style="display:inline-block; font-style:italic"></div> to submit</div>
       <div id="query-editor-format"></div>
-      <input class="form-control" type="hidden" id="query" name="query"/>
+      <input class="form-control" type="hidden" id="query" name="query" 
autofocus/>
 
 Review comment:
   For some reason this doesn't seem to work. I can see cursor in query textbox 
but it's not focussed. I have to click the query textbox to type any query in 
it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to