Update filemanager to be a little cleaner

This commit is contained in:
Dane Everitt
2017-02-17 13:08:07 -05:00
parent 008b18e19a
commit 232e9a05ed
5 changed files with 22 additions and 18 deletions

View File

@@ -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 => {