aboutsummaryrefslogtreecommitdiff
path: root/js/components/ui/file-input.reel
diff options
context:
space:
mode:
authorAnanya Sen2012-05-21 16:43:01 -0700
committerAnanya Sen2012-05-21 16:43:01 -0700
commitaa1cf81d980f20d532ae33575503b67fb5d68b7c (patch)
tree69b31eead4c1885827590c10c0fb55948b71af3e /js/components/ui/file-input.reel
parent2cc8e58f6bb9f64a7473e62aecd013fa55167231 (diff)
parent10471fc02fa75040baf337bc62ff683854793f81 (diff)
downloadninja-aa1cf81d980f20d532ae33575503b67fb5d68b7c.tar.gz
Merge branch 'refs/heads/master-dom-architecture' into dom-architecture
Diffstat (limited to 'js/components/ui/file-input.reel')
-rwxr-xr-xjs/components/ui/file-input.reel/file-input.js2
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 }