introduce alt text for rename icon - fixes #12067

This commit is contained in:
Morris Jobke 2014-12-08 15:49:09 +01:00
parent 1362c0b67a
commit 1bfa405a93
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;