diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-12-08 15:49:09 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-12-08 15:49:09 +0100 |
commit | 1bfa405a9352aa80e669c917662da2fde0a8f732 (patch) | |
tree | 1cf20adb48f07c478ef1a3d2166503421e318f16 | |
parent | 1362c0b67a42873e57dc69437a39c4473caef1a5 (diff) | |
download | nextcloud-server-1bfa405a9352aa80e669c917662da2fde0a8f732.tar.gz nextcloud-server-1bfa405a9352aa80e669c917662da2fde0a8f732.zip |
introduce alt text for rename icon - fixes #12067
-rw-r--r-- | apps/files/js/fileactions.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index 4334daa7556..da48cf29be0 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -264,6 +264,7 @@ _renderRenameAction: function(actionSpec, isDefault, context) { var $actionEl = this._makeActionLink(actionSpec, context); var $container = context.$file.find('a.name span.nametext'); + $actionEl.find('img').attr('alt', t('files', 'Rename')); $container.find('.action-rename').remove(); $container.append($actionEl); return $actionEl; |