TagSpaces is an offline, open source, document manager with tagging support
adding confirmation dialog for recursiv scan
Iliane2b5398d8c69
diff --git a/data/ext/perspectiveList/perspectiveUI.js b/data/ext/perspectiveList/perspectiveUI.jsindex 07e5f1c59..530499d4c 100644--- a/data/ext/perspectiveList/perspectiveUI.js+++ b/data/ext/perspectiveList/perspectiveUI.js@@ -69,8 +69,14 @@ console.log("Loading UI for perspectiveList");$("#"+this.extensionID+"IncludeSubDirsButton").click(function() {- $( this ).prop('disabled', true);- TSCORE.IO.createDirectoryIndex(TSCORE.currentPath);+ TSCORE.showConfirmDialog(+ "Confirm Include Subdirectories",+ "On directory with many files and/or subdirectories, this operation could be slow! Do you want to continue?",+ function() {+ $("#"+self.extensionID+"IncludeSubDirsButton").prop('disabled', true);+ TSCORE.IO.createDirectoryIndex(TSCORE.currentPath);+ }+ );});$("#"+this.extensionID+"TagButton")