Skip to content

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

Changes needed for the new directory navigation

uggrock090abc7bf343
diff --git a/data/js/messaging.mozilla.js b/data/js/messaging.mozilla.js
index c06bdf9d2..9c4b36e03 100644
--- a/data/js/messaging.mozilla.js
+++ b/data/js/messaging.mozilla.js
@@ -87,11 +87,7 @@ document.documentElement.addEventListener("addon-message1", function(event) {
dirListing.push(message.content[i]);
}
// TODO JSON functions are a workarround for a bug....
- UIAPI.updateTree(JSON.parse( JSON.stringify(dirListing)));
- //if(!extConnected) {
- // initUI();
- //}
- //extConnected = true;
+ DirectoriesUI.updateSubDirs(JSON.parse( JSON.stringify(dirListing)));
} else {
UIAPI.updateLogger("Getting subdirs failed");
}