diff options
author | Mark Haines <mark.haines@matrix.org> | 2014-11-17 10:21:51 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2014-11-17 10:21:51 +0000 |
commit | 1d3ef8734cea9a1ce8befdf27db297ca70cfeee3 (patch) | |
tree | 12c7ac945749c68b81e3ae55c39dfd58ae824bf0 /syweb/webclient/components/fileInput/file-input-directive.js | |
parent | Merge PDUs and Events into one object (diff) | |
parent | Move getLastMessage to modelService. (diff) | |
download | synapse-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.js | 3 |
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' }, |