TagSpaces is an offline, open source, document manager with tagging support
improving handling of the web version
Ilian4586ddb9fffa
diff --git a/data/ext/perspectiveGrid/perspectiveUI.js b/data/ext/perspectiveGrid/perspectiveUI.jsindex af3d8cf83..ba8d8a8c0 100644--- a/data/ext/perspectiveGrid/perspectiveUI.js+++ b/data/ext/perspectiveGrid/perspectiveUI.js@@ -612,7 +612,7 @@ console.log("Loading UI for perspectiveDefault");ExtUI.prototype.removeFileUI = function(filePath) {console.log("Removing "+filePath+" from UI");- if(isWin) {+ if(isWin && !isWeb) {filePath = filePath.replace("\\","");$("#"+this.extensionID+"Container li[filepath]").each(function() {if( $( this ).attr("filepath").replace("\\","") === filePath ) {@@ -632,7 +632,7 @@ console.log("Loading UI for perspectiveDefault");var $fileTile;- if(isWin) {+ if(isWin && !isWeb) {oldFilePath = oldFilePath.replace("\\","");$("#"+this.extensionID+"Container li[filepath]").each(function() {if( $( this ).attr("filepath").replace("\\","") === oldFilePath ) {diff --git a/data/ext/perspectiveList/perspectiveUI.js b/data/ext/perspectiveList/perspectiveUI.jsindex 0cccf2ce3..ce47f44f9 100644--- a/data/ext/perspectiveList/perspectiveUI.js+++ b/data/ext/perspectiveList/perspectiveUI.js@@ -485,7 +485,7 @@ console.log("Loading UI for perspectiveList");console.log("Removing from UI"+filePath+" from UI");var row4remove;- if(isWin) {+ if(isWin && !isWeb) {filePath = filePath.replace("\\","");$("#"+this.extensionID+"Container button[filepath]").each(function() {if( $( this ).attr("filepath").replace("\\","") === filePath ) {@@ -509,7 +509,7 @@ console.log("Loading UI for perspectiveList");var $fileRow = undefined;- if(isWin) {+ if(isWin && !isWeb) {oldFilePath = oldFilePath.replace("\\","");$("#"+this.extensionID+"Container button[filepath]").each(function() {if( $( this ).attr("filepath").replace("\\","") === oldFilePath ) {