Skip to content

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

open file on double tap now possible

Ilian84f7a73b3e91
diff --git a/data/ext/perspectiveGrid/perspectiveUI.js b/data/ext/perspectiveGrid/perspectiveUI.js
index bbe57cf31..2b0f66c37 100644
--- a/data/ext/perspectiveGrid/perspectiveUI.js
+++ b/data/ext/perspectiveGrid/perspectiveUI.js
@@ -97,7 +97,6 @@ console.log("Loading UI for perspectiveDefault");
TSCORE.openTagMenu(this, $(this).attr("tag"), $(this).attr("filepath"));
} )
.append("<span class='caret'/>")
- //.dropdown( 'attach' , '#tagMenu' )
/* .draggable({
"cancel": false,
"appendTo": "body",
@@ -781,6 +780,11 @@ console.log("Loading UI for perspectiveDefault");
TSCORE.FileOpener.openFile(filePath);
self.selectFile(filePath);
})
+ .hammer().on("doubletap", function(event) {
+ var filePath = $(this).attr("filepath");
+ TSCORE.FileOpener.openFile(filePath);
+ self.selectFile(filePath);
+ })
.click(function() {
var filePath = $(this).attr("filepath");
self.selectFile(filePath);