diff options
Diffstat (limited to 'js/components/ui/file-input.reel/file-input.js')
-rwxr-xr-x | js/components/ui/file-input.reel/file-input.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/components/ui/file-input.reel/file-input.js b/js/components/ui/file-input.reel/file-input.js index e8ea8ba9..66a52b22 100755 --- a/js/components/ui/file-input.reel/file-input.js +++ b/js/components/ui/file-input.reel/file-input.js | |||
@@ -71,7 +71,7 @@ var FileInput = exports.FileInput = Montage.create(Component, { | |||
71 | handleChange: | 71 | handleChange: |
72 | { | 72 | { |
73 | value:function(event) | 73 | value:function(event) |
74 | { | 74 | { |
75 | if(event.currentTarget.type === "file") | 75 | if(event.currentTarget.type === "file") |
76 | { | 76 | { |
77 | this.filePath = this.inputField.value; | 77 | this.filePath = this.inputField.value; |
@@ -86,7 +86,7 @@ var FileInput = exports.FileInput = Montage.create(Component, { | |||
86 | e.type = "change"; | 86 | e.type = "change"; |
87 | e.filePath = this.filePath; | 87 | e.filePath = this.filePath; |
88 | this.dispatchEvent(e); | 88 | this.dispatchEvent(e); |
89 | } | 89 | } |
90 | }, | 90 | }, |
91 | 91 | ||
92 | prepareForDraw: { | 92 | prepareForDraw: { |