aboutsummaryrefslogtreecommitdiff
path: root/js/io/ui/file-picker
diff options
context:
space:
mode:
Diffstat (limited to 'js/io/ui/file-picker')
-rwxr-xr-xjs/io/ui/file-picker/file-input-field.reel/file-input-field.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/js/io/ui/file-picker/file-input-field.reel/file-input-field.js b/js/io/ui/file-picker/file-input-field.reel/file-input-field.js
index 1ab268c5..46e8b386 100755
--- a/js/io/ui/file-picker/file-input-field.reel/file-input-field.js
+++ b/js/io/ui/file-picker/file-input-field.reel/file-input-field.js
@@ -66,10 +66,9 @@ var FileInputField = exports.FileInputField = Montage.create(Component, {
66 66
67 handlePaste:{ 67 handlePaste:{
68 value:function(evt){ 68 value:function(evt){
69 var self=this; 69 evt.preventDefault();
70 setTimeout(function(){ 70 evt.target.value = evt.clipboardData.getData("Text");
71 self.handleNewFileDirectoryOnkeyup(evt); 71 this.handleNewFileDirectoryOnkeyup(evt);
72 }, 1);
73 } 72 }
74 }, 73 },
75 74