Skip to content

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

adding openLocation to the TSCORE API

Ilian711a8b91e0c3
diff --git a/data/js/core.api.js b/data/js/core.api.js
index 3efc6f092..9533300fc 100644
--- a/data/js/core.api.js
+++ b/data/js/core.api.js
@@ -264,6 +264,7 @@ define(function(require, exports, module) {
}, false);
//$( window ).on('resize', onWindowResize);
+
function onWindowResize() {
console.log("Window was resized to W:"+window.innerWidth+" H:"+window.innerHeight);
@@ -545,6 +546,7 @@ define(function(require, exports, module) {
exports.generateTagGroups = tsTagsUI.generateTagGroups;
// Proxying functions from directoriesUI
+ exports.openLocation = tsDirectoriesUI.openLocation;
exports.updateSubDirs = tsDirectoriesUI.updateSubDirs;
exports.initLocations = tsDirectoriesUI.initLocations;
exports.showCreateDirectoryDialog = tsDirectoriesUI.showCreateDirectoryDialog;