diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-05 10:24:48 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-05 10:24:48 +0200 |
commit | 28919faff5204a2f7004ccc4d37d442c56db6555 (patch) | |
tree | 89489200d04be66affbef56cf9316bddb177cd6d /apps/files/js | |
parent | 681ab05e4df38aa0cf60efb5b8bd18973774d975 (diff) | |
parent | 6bf6ff9564640190413d255ed28181f3d9880ea3 (diff) | |
download | nextcloud-server-28919faff5204a2f7004ccc4d37d442c56db6555.tar.gz nextcloud-server-28919faff5204a2f7004ccc4d37d442c56db6555.zip |
Merge pull request #19552 from owncloud/inline_fileactions_alttext
If an inline files action provides an alt text show it
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/fileactions.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index bde0b094b87..079c5330ec2 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -144,7 +144,8 @@ order: action.order || 0, icon: action.icon, permissions: action.permissions, - type: action.type || FileActions.TYPE_DROPDOWN + type: action.type || FileActions.TYPE_DROPDOWN, + altText: action.altText || '' }; if (_.isUndefined(action.displayName)) { actionSpec.displayName = t('files', name); |