Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 421639 - [client][Projects] Improve "Project Information" table i…
…nteraction with 'Tab' key

- Minor commit to make the url field editable when the url selector gains focus.

--Signed-off-by: Elijah El-Haddad <elijahe@ca.ibm.com>
  • Loading branch information
elijahe committed Nov 14, 2013
1 parent 08a5441 commit 3c803a7
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -189,6 +189,9 @@ define(['orion/URITemplate', 'orion/webui/littlelib', 'orion/projectCommands', '
urlInput.focus();
}.bind(this);

//make the url editable when the selector gains focus
urlSelector.onfocus = urlSelector.onclick;

//Make pressing "Enter" on the selector do the same think as clicking it
urlSelector.onkeyup = function(event){
if(event.keyCode === lib.KEY.ENTER){
Expand Down

0 comments on commit 3c803a7

Please sign in to comment.