Skip to content

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

adding implementation for openFile

uggrock9d04e0788465
diff --git a/data/web/web.api.js b/data/web/web.api.js
index 389be6849..eb7c0b03d 100644
--- a/data/web/web.api.js
+++ b/data/web/web.api.js
@@ -539,8 +539,7 @@ define(function(require, exports, module) {
* @param {string} filePath - the full path of the file which will be opened
*/
function openFile(filePath) {
- //
- TSCORE.showAlertDialog("openFile not relevant for webdav");
+ window.open(filePath, '_blank');
}
// Platform API