Merge pull request #12688 from owncloud/rename-alt
introduce alt text for rename icon - fixes #12067
This commit is contained in:
commit
17f85ec5a9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue