introduce alt text for rename icon - fixes #12067
This commit is contained in:
parent
1362c0b67a
commit
1bfa405a93
|
@ -264,6 +264,7 @@
|
||||||
_renderRenameAction: function(actionSpec, isDefault, context) {
|
_renderRenameAction: function(actionSpec, isDefault, context) {
|
||||||
var $actionEl = this._makeActionLink(actionSpec, context);
|
var $actionEl = this._makeActionLink(actionSpec, context);
|
||||||
var $container = context.$file.find('a.name span.nametext');
|
var $container = context.$file.find('a.name span.nametext');
|
||||||
|
$actionEl.find('img').attr('alt', t('files', 'Rename'));
|
||||||
$container.find('.action-rename').remove();
|
$container.find('.action-rename').remove();
|
||||||
$container.append($actionEl);
|
$container.append($actionEl);
|
||||||
return $actionEl;
|
return $actionEl;
|
||||||
|
|
Loading…
Reference in New Issue