Remove tag and filepicker buttons for anon users
This commit is contained in:
1 parent
c18d4297e1
commit
d666e9e7ee
5 files changed
+58
-47
No files matched your search
@@ -2638,6 +2638,10 @@ define([
|
||||
APP.hideMenu();
|
||||
});
|
||||
|
||||
if (!APP.loggedIn) {
|
||||
$defaultContextMenu.find('.cp-app-drive-context-delete').text(Messages.fc_remove)
|
||||
.attr('data-icon', 'fa-eraser');
|
||||
}
|
||||
$defaultContextMenu.on("click", "a", function(e) {
|
||||
e.stopPropagation();
|
||||
var paths = $(this).data('paths');
|
||||
|
||||
Reference in new issue
Block a user