Skip to content

Commit

Permalink
introduce alt text for rename icon - fixes #12067
Browse files Browse the repository at this point in the history
  • Loading branch information
MorrisJobke committed Dec 8, 2014
1 parent 1362c0b commit 1bfa405
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/files/js/fileactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1bfa405

Please sign in to comment.