From 648ee61ae84216d0236e0dbc211addc13b2cfa3a Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 6 Jul 2012 11:52:06 -0700 Subject: Expand tabs --- js/components/ui/file-input.reel/file-input.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/components/ui/file-input.reel') 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, { handleChange: { value:function(event) - { + { if(event.currentTarget.type === "file") { this.filePath = this.inputField.value; @@ -86,7 +86,7 @@ var FileInput = exports.FileInput = Montage.create(Component, { e.type = "change"; e.filePath = this.filePath; this.dispatchEvent(e); - } + } }, prepareForDraw: { -- cgit v1.2.3