diff options
author | Valerio Virgillito | 2012-05-18 17:59:02 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-18 17:59:02 -0700 |
commit | 10471fc02fa75040baf337bc62ff683854793f81 (patch) | |
tree | 345d582d72c2064e6e4ebbd23cbb7bb6c81e96df /js/components/ui/file-input.reel | |
parent | e7c288fe8f5d3a9e5c9f0eb0a045c6c195a0e7b8 (diff) | |
parent | 8a15ac2b4a7d528d04c73bf6d9c6e724d8c6ac50 (diff) | |
download | ninja-10471fc02fa75040baf337bc62ff683854793f81.tar.gz |
Merge pull request #247 from mqg734/Dom-Architecture
Fixing button and radio controls in the Properties Panel and repetition and file-chooser control in the Materials Panel.
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 | } |