Merge pull request #12688 from owncloud/rename-alt

introduce alt text for rename icon - fixes #12067
This commit is contained in:
Lukas Reschke 2014-12-09 10:37:33 +01:00
commit 17f85ec5a9
1 changed files with 1 additions and 0 deletions

View File

@ -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;