summary refs log tree commit diff
path: root/syweb/webclient/components/fileInput/file-input-directive.js
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-11-17 10:21:51 +0000
committerMark Haines <mark.haines@matrix.org>2014-11-17 10:21:51 +0000
commit1d3ef8734cea9a1ce8befdf27db297ca70cfeee3 (patch)
tree12c7ac945749c68b81e3ae55c39dfd58ae824bf0 /syweb/webclient/components/fileInput/file-input-directive.js
parentMerge PDUs and Events into one object (diff)
parentMove getLastMessage to modelService. (diff)
downloadsynapse-1d3ef8734cea9a1ce8befdf27db297ca70cfeee3.tar.xz
Merge remote-tracking branch 'origin/develop' into merge_pdu_event_objects
Diffstat (limited to 'syweb/webclient/components/fileInput/file-input-directive.js')
-rw-r--r--syweb/webclient/components/fileInput/file-input-directive.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/syweb/webclient/components/fileInput/file-input-directive.js b/syweb/webclient/components/fileInput/file-input-directive.js
index 9c849a140f..e530c06085 100644
--- a/syweb/webclient/components/fileInput/file-input-directive.js
+++ b/syweb/webclient/components/fileInput/file-input-directive.js
@@ -25,7 +25,8 @@ angular.module('mFileInput', [])
     return {
         restrict: 'A',
         transclude: 'true',
-        template: '<div ng-transclude></div><input ng-hide="true" type="file" accept="image/*"/>',
+        // FIXME: add back in accept="image/*" when needed - e.g. for avatars
+        template: '<div ng-transclude></div><input ng-hide="true" type="file"/>',
         scope: {
             selectedFile: '=mFileInput'
         },