diff options
Diffstat (limited to 'js/components/ui/FilePicker/file-input-field.reel/file-input-field.js')
-rwxr-xr-x | js/components/ui/FilePicker/file-input-field.reel/file-input-field.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/components/ui/FilePicker/file-input-field.reel/file-input-field.js b/js/components/ui/FilePicker/file-input-field.reel/file-input-field.js index f832e618..8710de63 100755 --- a/js/components/ui/FilePicker/file-input-field.reel/file-input-field.js +++ b/js/components/ui/FilePicker/file-input-field.reel/file-input-field.js | |||
@@ -30,7 +30,7 @@ var FileInputField = exports.FileInputField = Montage.create(Component, { | |||
30 | 30 | ||
31 | this.eventManager.addEventListener("pickerSelectionsDone", function(evt){that.handleFileInputPickerSelectionsDone(evt);}, false); | 31 | this.eventManager.addEventListener("pickerSelectionsDone", function(evt){that.handleFileInputPickerSelectionsDone(evt);}, false); |
32 | 32 | ||
33 | this.newFileDirectory.addEventListener("blur", function(evt){that.handleNewFileDirectoryOnblur(evt);}, false); | 33 | this.newFileDirectory.addEventListener("keyup", function(evt){that.handleNewFileDirectoryOnkeyup(evt);}, false); |
34 | } | 34 | } |
35 | }, | 35 | }, |
36 | 36 | ||
@@ -77,7 +77,7 @@ var FileInputField = exports.FileInputField = Montage.create(Component, { | |||
77 | } | 77 | } |
78 | }, | 78 | }, |
79 | 79 | ||
80 | handleNewFileDirectoryOnblur:{ | 80 | handleNewFileDirectoryOnkeyup:{ |
81 | value:function(evt){ | 81 | value:function(evt){ |
82 | if(this.newFileDirectory.value !== ""){ | 82 | if(this.newFileDirectory.value !== ""){ |
83 | var newFileDirectorySetEvent = document.createEvent("Events"); | 83 | var newFileDirectorySetEvent = document.createEvent("Events"); |