diff options
author | Jose Antonio Marquez | 2012-05-21 09:53:19 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-05-21 09:53:19 -0700 |
commit | c087ca289bc6d6eb26d0f5543ec6d1df1ba5dd4e (patch) | |
tree | 3d9b50fa845ba3d80fdc159275a9fece7ef69911 /js/components/ui/file-input.reel | |
parent | b844fb34e9500560adcc8f9e860f7328f4db014f (diff) | |
parent | 10471fc02fa75040baf337bc62ff683854793f81 (diff) | |
download | ninja-c087ca289bc6d6eb26d0f5543ec6d1df1ba5dd4e.tar.gz |
Merge branch 'refs/heads/Ninja-DOM-Architecture' into Document
Diffstat (limited to 'js/components/ui/file-input.reel')
-rwxr-xr-x | js/components/ui/file-input.reel/file-input.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/components/ui/file-input.reel/file-input.js b/js/components/ui/file-input.reel/file-input.js index b57f7c21..584380ec 100755 --- a/js/components/ui/file-input.reel/file-input.js +++ b/js/components/ui/file-input.reel/file-input.js | |||
@@ -38,7 +38,7 @@ var FileInput = exports.FileInput = Montage.create(Component, { | |||
38 | { | 38 | { |
39 | value:function(event) | 39 | value:function(event) |
40 | { | 40 | { |
41 | if(event.currentTarget.id === "fileInputControl") | 41 | if(event.currentTarget.type === "file") |
42 | { | 42 | { |
43 | this.filePath = this.inputField.value; | 43 | this.filePath = this.inputField.value; |
44 | } | 44 | } |