TagSpaces is an offline, open source, document manager with tagging support
opening files on double tap platform tuning
Ilian9ec65265a0fc
diff --git a/data/ext/perspectiveHealth/extension.js b/data/ext/perspectiveHealth/extension.jsindex a7d68bbdb..0399df1f0 100644--- a/data/ext/perspectiveHealth/extension.js+++ b/data/ext/perspectiveHealth/extension.js@@ -7,7 +7,7 @@ define(function(require, exports, module) {console.log("Loading perspectiveHealth");- var extensionTitle = "Quantified Self"+ var extensionTitle = "Health Perspective"var extensionID = "perspectiveHealth"; // ID should be equal to the directory name where the ext. is locatedvar extensionType = "perspective";var extensionIcon = "fa fa-bar-chart-o";diff --git a/data/ext/perspectiveList/extension.js b/data/ext/perspectiveList/extension.jsindex 87e532be2..bb382973b 100644--- a/data/ext/perspectiveList/extension.js+++ b/data/ext/perspectiveList/extension.js@@ -5,7 +5,7 @@define(function(require, exports, module) {"use strict";- var extensionTitle = "Perspective List";+ var extensionTitle = "List Perspective";var extensionID = "perspectiveList"; // ID should be equal to the directory name where the ext. is locatedvar extensionType = "perspective";var extensionIcon = "fa fa-list-ul";@@ -30,10 +30,19 @@ define(function(require, exports, module) {UI = new extUI.ExtUI(extensionID);UI.buildUI();UI.initTable();+ platformTuning();});};+ var platformTuning = function() {+ if(isCordova) {+ $("#"+extensionID+"IncludeSubDirsButton").hide();+ //$("#"+extensionID+"ShowFileDetailsButton").hide();+ //$("#"+extensionID+"ShowTagsButton").hide();+ }+ };+var load = function () {console.log("Loading perspective "+extensionID);if(UI != undefined) {diff --git a/data/ext/perspectiveList/perspectiveUI.js b/data/ext/perspectiveList/perspectiveUI.jsindex 184e1ccaf..5cd884fa2 100644--- a/data/ext/perspectiveList/perspectiveUI.js+++ b/data/ext/perspectiveList/perspectiveUI.js@@ -406,6 +406,14 @@ console.log("Loading UI for perspectiveDefault");$(ui.helper).remove();}})+ .hammer().on("doubletap", function(event) {+ console.log("Doubletap & Opening file...");+ var rowData = self.fileTable.fnGetData( this );+ TSCORE.FileOpener.openFile(rowData[TSCORE.fileListFILEPATH]);++ var titleBut = $(this).find(".fileTitleButton");+ self.selectFile(titleBut, $(titleBut).attr("filepath"));+ }).dblclick( function() {console.log("Opening file...");var rowData = self.fileTable.fnGetData( this );