TagSpaces is an offline, open source, document manager with tagging support
update
kristiyanddc98e7dff7fd5
diff --git a/data/js/core.api.js b/data/js/core.api.jsindex 1061f6c28..0d001432c 100644--- a/data/js/core.api.js+++ b/data/js/core.api.js@@ -214,7 +214,9 @@ define(function(require, exports, module) {tsCoreUI.showLocationsPanel();});Mousetrap.bind(tsSettings.getAddRemoveTagsKeyBinding(), function() {- tsTagsUI.showAddTagsDialog();+ if (TSCORE.selectedFiles[0]) {+ tsTagsUI.showAddTagsDialog();+ }});Mousetrap.bind(tsSettings.getSearchKeyBinding(), function() {tsSearchUI.showSearchArea();@@ -297,8 +299,8 @@ define(function(require, exports, module) {function updateFileModel(model, oldPath, newPath) {console.log('Removing file from model');var title = tsTagUtils.extractTitle(newPath),- fileExt = tsTagUtils.extractFileExtension(newPath),- fileTags = tsTagUtils.extractTags(newPath);+ fileExt = tsTagUtils.extractFileExtension(newPath),+ fileTags = tsTagUtils.extractTags(newPath);for (var i = 0; i < model.length; i++) {if (model[i].path == oldPath) {model[i].path = newPath;diff --git a/data/libs/flatpickr-calendar/LICENSE.md b/data/libs/flatpickr-calendar/LICENSE.mddeleted file mode 100644index c62e51bf1..000000000--- a/data/libs/flatpickr-calendar/LICENSE.md+++ /dev/null@@ -1,21 +0,0 @@-The MIT License (MIT)--Copyright (c) 2016--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.diff --git a/data/libs/flatpickr-calendar/bower.json b/data/libs/flatpickr-calendar/bower.jsondeleted file mode 100644index 32029084f..000000000--- a/data/libs/flatpickr-calendar/bower.json+++ /dev/null@@ -1,25 +0,0 @@-{- "name": "flatpickr",- "description": "Super lightweight date picker with no dependencies",- "main": "",- "authors": [- "Gregory <[email protected]>"- ],- "license": "MIT",- "keywords": [- "date",- "picker",- "ligthweight",- "javascript"- ],- "homepage": "https://github.com/chmln/flatpickr",- "main": ["dist/flatpickr.min.js","dist/flatpickr.min.css"],- "moduleType": [],- "ignore": [- "**/.*",- "node_modules",- "bower_components",- "test",- "tests"- ]-}