Skip to content

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

Bugfixing

uggrockb341ff2232b8
diff --git a/data/js/core.api.js b/data/js/core.api.js
index 0c620d868..6974e3cfa 100644
--- a/data/js/core.api.js
+++ b/data/js/core.api.js
@@ -88,14 +88,6 @@ define(function(require, exports, module) {
$( "#selectTagSpace" ).tooltip( "open" );
}
- function setCurrentPath(path) {
- console.debug("Setting current path to: "+path);
- currentPath = path;
-
- // List preselected dir automatically
- tsIOApi.listDirectory(currentPath);
- }
-
function updateLogger(message) {
// TODO reactivate
console.debug("Updating logger...");
@@ -249,7 +241,6 @@ define(function(require, exports, module) {
// Public API definition
exports.initApp = initApp;
- exports.setCurrentPath = setCurrentPath;
exports.updateLogger = updateLogger;
exports.showLoadingAnimation = showLoadingAnimation;
exports.hideLoadingAnimation = hideLoadingAnimation;
diff --git a/data/js/ioapi.mozilla.receiver.js b/data/js/ioapi.mozilla.receiver.js
index b349cedf6..caab2241f 100644
--- a/data/js/ioapi.mozilla.receiver.js
+++ b/data/js/ioapi.mozilla.receiver.js
@@ -37,11 +37,6 @@ console.debug("Loading messaging.mozilla.js..");
console.debug("Saving setting as native mozilla preference failed!")
}
break;
- case "updateDefaultPath":
- if(message.content.length > 1) {
- TSCORE.setCurrentPath(message.content);
- }
- break;
case "rename":
if(message.success){
TSCORE.updateLogger("Rename success");