diff options
Diffstat (limited to 'js/io/ui/save-as-dialog.reel/save-as-dialog.js')
-rw-r--r-- | js/io/ui/save-as-dialog.reel/save-as-dialog.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/js/io/ui/save-as-dialog.reel/save-as-dialog.js b/js/io/ui/save-as-dialog.reel/save-as-dialog.js index 98749106..4d07ca66 100644 --- a/js/io/ui/save-as-dialog.reel/save-as-dialog.js +++ b/js/io/ui/save-as-dialog.reel/save-as-dialog.js | |||
@@ -66,7 +66,10 @@ var SaveAsDialog = exports.SaveAsDialog = Montage.create(Component, { | |||
66 | 66 | ||
67 | handleNewFileDirectorySet:{ | 67 | handleNewFileDirectorySet:{ |
68 | value:function(evt){ | 68 | value:function(evt){ |
69 | if(!!evt._event.newFileDirectory){ | 69 | if((evt.keyCode === 13) && !this.okButton.hasAttribute("disabled")){ |
70 | this.handleOkButtonAction(evt); | ||
71 | } | ||
72 | else if(!!evt._event.newFileDirectory){ | ||
70 | this.folderUri = evt._event.newFileDirectory; | 73 | this.folderUri = evt._event.newFileDirectory; |
71 | if(this.isValidUri(this.folderUri)){ | 74 | if(this.isValidUri(this.folderUri)){ |
72 | this.enableOk(); | 75 | this.enableOk(); |