From a8fc5e118735348f1145013246a3fc4a4dafdc0b Mon Sep 17 00:00:00 2001 From: si458 Date: Tue, 16 Jul 2024 11:03:29 +0100 Subject: [PATCH] disable open button in files for android Signed-off-by: si458 --- views/default.handlebars | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/views/default.handlebars b/views/default.handlebars index 74d06b53..e22b249d 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -11234,7 +11234,6 @@ function p13openfilefolderEx() { var openfilefolder = "", checkboxes = document.getElementsByName('fd'); for (var i = 0; i < checkboxes.length; i++) { - console.log(checkboxes[i]); if (checkboxes[i].checked) { openfilefolder = (isWindowsNode(currentNode) ? '' : '/') + p13filetreelocation.join(isWindowsNode(currentNode) ? '\\' : '/') + (isWindowsNode(currentNode) ? '\\' : '/') + p13filetree.dir[checkboxes[i].value].n; } @@ -11358,7 +11357,7 @@ QE('p13UnzipButton', advancedFeatures && (cc == 1) && (sfc == 1) && ((p13filetreelocation.length > 0) || (winAgent == false)) && p13getFileSelAllowedExt('.zip')); QE('p13PasteButton', advancedFeatures && ((p13filetreelocation.length > 0) || (winAgent == false)) && ((p13clipboard != null) && (p13clipboard.length > 0))); QE('p13GoToFolderButton', advancedFeatures); - QE('p13OpenButton', (cc == 1)); + QE('p13OpenButton', advancedFeatures && (cc == 1)); QE('p13DownloadButton', (cc > 0) && (cc == sfc) && ((p13filetreelocation.length > 0) || (winAgent == false))); } var filesState = ((files != null) && (files.state != 0));