Skip to content

TagSpaces is an offline, open source, document manager with tagging support

enabling parts of the search ui for pro version

uggrock0284e19424f4
diff --git a/data/js/search.ui.js b/data/js/search.ui.js
index b692ae1c9..f3488b4ee 100644
--- a/data/js/search.ui.js
+++ b/data/js/search.ui.js
@@ -79,6 +79,15 @@ define(function(require, exports, module) {
$('#searchFileType').on('change', function(e) {
updateQuery();
});
+
+ if (TSCORE.PRO) {
+ $('#searchFileType').prop('disabled', false);
+ $('#searchHistory').prop('disabled', false);
+ $('#searchFileType').attr('title', '');
+ $('#searchHistory').attr('title', '');
+ $('#searchFileType').removeClass('disabled');
+ $('#searchHistory').removeClass('disabled');
+ }
};
//function parseQuery() {}