Update filemanager to be a little cleaner
This commit is contained in:
parent
008b18e19a
commit
232e9a05ed
5 changed files with 22 additions and 18 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -85,6 +85,10 @@ class ContextMenuClass {
|
|||
rightClick() {
|
||||
$('[data-action="toggleMenu"]').on('mousedown', event => {
|
||||
event.preventDefault();
|
||||
if ($(document).find('#fileOptionMenu').is(':visible')) {
|
||||
$('body').trigger('click');
|
||||
return;
|
||||
}
|
||||
this.showMenu(event);
|
||||
});
|
||||
$('#file_listing > tbody td').on('contextmenu', event => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue