Fix deletion from anon drive

This commit is contained in:
yflory
2020-03-11 12:34:43 +01:00
parent e31ddda8f5
commit 2f7e8fba79
2 changed files with 3 additions and 2 deletions

View File

@@ -3902,8 +3902,8 @@ define([
};
if (!APP.loggedIn) {
$contextMenu.find('.cp-app-drive-context-delete').text(Messages.fc_remove)
.attr('data-icon', 'fa-eraser');
$contextMenu.find('.cp-app-drive-context-delete').attr('data-icon', faDelete)
.html($contextMenu.find('.cp-app-drive-context-remove').html());
}
var deleteOwnedPaths = function (paths, pathsList) {
pathsList = pathsList || [];