Skip to content

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

disabling buttons on clear file selection enabling add file button only in note-webkit

Ilian90c021905f4a
diff --git a/data/ext/perspectiveList/extension.js b/data/ext/perspectiveList/extension.js
index 28b70b080..82d2a95a6 100644
--- a/data/ext/perspectiveList/extension.js
+++ b/data/ext/perspectiveList/extension.js
@@ -75,6 +75,9 @@ define(function(require, exports, module) {
if(isCordova) {
$('#'+extensionID+'Export2CSVButton').hide();
}
+ if(isCordova || isFirefox || isChrome || isWeb) {
+ $('#'+extensionID+'AddFileButton').hide();
+ }
};
var load = function () {
@@ -89,6 +92,7 @@ define(function(require, exports, module) {
var clearSelectedFiles = function() {
if(UI !== undefined) {
UI.clearSelectedFiles();
+ UI.handleElementActivation();
}
};