aboutsummaryrefslogtreecommitdiff
path: root/js/components/ui/file-input.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/components/ui/file-input.reel')
-rwxr-xr-xjs/components/ui/file-input.reel/file-input.html2
-rwxr-xr-xjs/components/ui/file-input.reel/file-input.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/js/components/ui/file-input.reel/file-input.html b/js/components/ui/file-input.reel/file-input.html
index d7506260..0997ec20 100755
--- a/js/components/ui/file-input.reel/file-input.html
+++ b/js/components/ui/file-input.reel/file-input.html
@@ -1,4 +1,4 @@
1<!DOCTYPE HTML> 1<!doctype html>
2<!-- <copyright> 2<!-- <copyright>
3Copyright (c) 2012, Motorola Mobility, Inc 3Copyright (c) 2012, Motorola Mobility, Inc
4All Rights Reserved. 4All Rights Reserved.
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: {