diff options
author | Jose Antonio Marquez | 2012-04-02 10:39:58 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-04-02 10:39:58 -0700 |
commit | 6034e3aa1d033149ba9ca8f0578e0a95889a7e46 (patch) | |
tree | 6249f420894a8b8fae29baa83b705012098eedb4 /js/io/ui/new-file-dialog/new-file-options-navigator.reel | |
parent | 95249b524ada7d20abf24408a857cccec8aea19a (diff) | |
parent | c6de22bf42be90b403491b5f87b1818d9020310c (diff) | |
download | ninja-6034e3aa1d033149ba9ca8f0578e0a95889a7e46.tar.gz |
Merge branch 'refs/heads/Ninja-Internal' into FileIO
Diffstat (limited to 'js/io/ui/new-file-dialog/new-file-options-navigator.reel')
-rw-r--r-- | js/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.js b/js/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.js index 18556bc5..c98955ca 100644 --- a/js/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.js +++ b/js/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.js | |||
@@ -326,8 +326,8 @@ var NewFileOptionsNavigator = exports.NewFileOptionsNavigator = Montage.create(C | |||
326 | 326 | ||
327 | handleNewFileDirectorySet:{ | 327 | handleNewFileDirectorySet:{ |
328 | value:function(evt){ | 328 | value:function(evt){ |
329 | if((evt.keyCode === 13) && !this.okButton.hasAttribute("disabled")){ | 329 | if(evt.keyCode === 13){ |
330 | this.handleOkButtonAction(evt); | 330 | if(!this.okButton.hasAttribute("disabled")) this.handleOkButtonAction(evt); |
331 | }else if(evt.keyCode === 27){ | 331 | }else if(evt.keyCode === 27){ |
332 | this.handleCancelButtonAction(evt); | 332 | this.handleCancelButtonAction(evt); |
333 | } | 333 | } |