TagSpaces is an offline, open source, document manager with tagging support
Adding a button for the activataion of recursive search
Ilian1d7d892aaf99
diff --git a/data/js/core.ui.js b/data/js/core.ui.jsindex b82ea335c..93c70e688 100644--- a/data/js/core.ui.js+++ b/data/js/core.ui.js@@ -333,7 +333,7 @@ define(function(require, exports, module) {});// Hide the taggroups by default- $('#tagGroupsContent').hide();+ $('#locationContent').hide(); // #tagGroupsContent// Search UI@@ -341,6 +341,16 @@ define(function(require, exports, module) {.click(function(e) {$("#searchOptions").hide();});++ $("#includeSubfoldersOption")+ .click(function(e) {+ var searchQuery = $("#searchBox").val();+ if(searchQuery.indexOf("?")==0) {+ $("#searchBox").val(searchQuery.substring(1,searchQuery.length));+ } else {+ $("#searchBox").val("?"+searchQuery);+ }+ });$("#searchBox").focus(function(e) {@@ -470,7 +480,7 @@ define(function(require, exports, module) {$('#tagTreeMenu').hide();$('#directoryMenu').hide();$('#tagMenu').hide();- $('#fileMenu').hide();+ $('#fileMenu').hide();};var showLocationsPanel = function() {