aboutsummaryrefslogtreecommitdiff
path: root/js/io/ui/new-file-dialog/new-file-options-navigator.reel
diff options
context:
space:
mode:
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.js4
1 files changed, 4 insertions, 0 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 d5b59ab8..ecee7c1d 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
@@ -313,6 +313,8 @@ var NewFileOptionsNavigator = exports.NewFileOptionsNavigator = Montage.create(C
313 value:function(evt){ 313 value:function(evt){
314 if((evt.keyCode === 13) && !this.okButton.hasAttribute("disabled")){ 314 if((evt.keyCode === 13) && !this.okButton.hasAttribute("disabled")){
315 this.handleOkButtonAction(evt); 315 this.handleOkButtonAction(evt);
316 }else if(evt.keyCode === 27){
317 this.handleCancelButtonAction(evt);
316 } 318 }
317 else if(!!evt._event.newFileDirectory){ 319 else if(!!evt._event.newFileDirectory){
318 this.newFileDirectory = evt._event.newFileDirectory; 320 this.newFileDirectory = evt._event.newFileDirectory;
@@ -327,6 +329,8 @@ var NewFileOptionsNavigator = exports.NewFileOptionsNavigator = Montage.create(C
327 value:function(evt){ 329 value:function(evt){
328 if((evt.keyCode === 13) && !this.okButton.hasAttribute("disabled")){ 330 if((evt.keyCode === 13) && !this.okButton.hasAttribute("disabled")){
329 this.handleOkButtonAction(evt); 331 this.handleOkButtonAction(evt);
332 }else if(evt.keyCode === 27){
333 this.handleCancelButtonAction(evt);
330 } 334 }
331 else if(!!evt._event.newFileName){ 335 else if(!!evt._event.newFileName){
332 this.newFileName = evt._event.newFileName; 336 this.newFileName = evt._event.newFileName;