diff options
Diffstat (limited to 'js/io/ui/new-file-dialog/new-file-location.reel/new-file-location.js')
-rwxr-xr-x | js/io/ui/new-file-dialog/new-file-location.reel/new-file-location.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/js/io/ui/new-file-dialog/new-file-location.reel/new-file-location.js b/js/io/ui/new-file-dialog/new-file-location.reel/new-file-location.js index 5dd1153d..02579676 100755 --- a/js/io/ui/new-file-dialog/new-file-location.reel/new-file-location.js +++ b/js/io/ui/new-file-dialog/new-file-location.reel/new-file-location.js | |||
@@ -31,10 +31,9 @@ var NewFileLocation = exports.NewFileLocation = Montage.create(Component, { | |||
31 | 31 | ||
32 | handlePaste:{ | 32 | handlePaste:{ |
33 | value:function(evt){ | 33 | value:function(evt){ |
34 | var self=this; | 34 | evt.preventDefault(); |
35 | setTimeout(function(){ | 35 | evt.target.value = evt.clipboardData.getData("Text"); |
36 | self.handleKeyup(evt); | 36 | this.handleKeyup(evt); |
37 | }, 1); | ||
38 | } | 37 | } |
39 | }, | 38 | }, |
40 | 39 | ||