diff options
author | Nivesh Rajbhandari | 2012-05-18 14:36:53 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-05-18 14:41:39 -0700 |
commit | a396caf12a9e1fc84b984d39f8e671c335d2f5d5 (patch) | |
tree | 297bf12c043f1517d1a9b5bbb31998e3e16282ac /js | |
parent | 24d1873302b2fffc25d254e15e8aa36f59eedb88 (diff) | |
download | ninja-a396caf12a9e1fc84b984d39f8e671c335d2f5d5.tar.gz |
File Input control in materials panel was not working because of the change from id to data-montage-id.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js')
-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 | } |