Add a button to display the context menu for the trash on mobiles
This commit is contained in:
@@ -2080,7 +2080,7 @@ define([
|
|||||||
var isOpened = filesOp.comparePath(path, currentPath);
|
var isOpened = filesOp.comparePath(path, currentPath);
|
||||||
var $trashElement = createTreeElement(TRASH_NAME, $icon, [TRASH], false, true, false, isOpened);
|
var $trashElement = createTreeElement(TRASH_NAME, $icon, [TRASH], false, true, false, isOpened);
|
||||||
$trashElement.addClass('root');
|
$trashElement.addClass('root');
|
||||||
$trashElement.contextmenu(openTrashTreeContextMenu);
|
$trashElement.find('>.element-row').contextmenu(openTrashTreeContextMenu);
|
||||||
var $trashList = $('<ul>', { id: 'trashTree', 'class': 'category2' }).append($trashElement);
|
var $trashList = $('<ul>', { id: 'trashTree', 'class': 'category2' }).append($trashElement);
|
||||||
$container.append($trashList);
|
$container.append($trashList);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user