TagSpaces is an offline, open source, document manager with tagging support
The possibility of moving the dialog screen with the mouse
mladensap14af9ab3ba37
diff --git a/data/js/core.ui.js b/data/js/core.ui.jsindex b7f823180..445b3aa03 100644--- a/data/js/core.ui.js+++ b/data/js/core.ui.js@@ -157,6 +157,9 @@ define(function(require, exports, module) {backdrop: 'static',show: true});+ $('#dialogFileCreate').draggable({+ handle: ".modal-header"+ });};var showFileRenameDialog = function(filePath) {$('#renamedFileName').attr('filepath', filePath);@@ -182,6 +185,9 @@ define(function(require, exports, module) {backdrop: 'static',show: true});+ $('#dialogFileRename').draggable({+ handle: ".modal-header"+ });};var showFileDeleteDialog = function(filePath) {console.log('Deleting file...');@@ -217,6 +223,9 @@ define(function(require, exports, module) {backdrop: 'static',show: true});+ $('#dialogEditTag').draggable({+ handle: ".modal-header"+ });};var showDirectoryBrowserDialog = function(path) {require([@@ -312,6 +321,9 @@ define(function(require, exports, module) {backdrop: 'static',show: true});+ $('#dialogMoveCopyFiles').draggable({+ handle: ".modal-header"+ });console.log('Selected files: ' + TSCORE.selectedFiles);});};@@ -320,6 +332,9 @@ define(function(require, exports, module) {backdrop: 'static',show: true});+ $('#dialogAboutTS').draggable({+ handle: ".modal-header"+ });};var initUI = function() {if (TSCORE.PRO) {@@ -484,6 +499,9 @@ define(function(require, exports, module) {backdrop: 'static',show: true});+ $('#dialogAbout').draggable({+ handle: ".modal-header"+ });});// Open Options Dialog$('#openOptions').click(function() {diff --git a/data/js/directories.ui.js b/data/js/directories.ui.jsindex 57bd05100..2e1449a2f 100644--- a/data/js/directories.ui.js+++ b/data/js/directories.ui.js@@ -505,6 +505,9 @@ define(function(require, exports, module) {backdrop: 'static',show: true});+ $('#dialogLocationEdit').draggable({+ handle: ".modal-header"+ });});}@@ -562,6 +565,9 @@ define(function(require, exports, module) {backdrop: 'static',show: true});+ $('#dialogCreateFolderConnection').draggable({+ handle: ".modal-header"+ });});}@@ -598,6 +604,9 @@ define(function(require, exports, module) {backdrop: 'static',show: true});+ $('#dialogDirectoryCreate').draggable({+ handle: ".modal-header"+ });});}@@ -634,6 +643,9 @@ define(function(require, exports, module) {backdrop: 'static',show: true});+ $('#dialogDirectoryRename').draggable({+ handle: ".modal-header"+ });});}diff --git a/data/js/directorybrowser.js b/data/js/directorybrowser.jsindex 695218fad..a23579330 100644--- a/data/js/directorybrowser.js+++ b/data/js/directorybrowser.js@@ -51,6 +51,9 @@ define(function(require, exports, module) {backdrop: 'static',show: true});+ $('#directoryBrowserDialog').draggable({+ handle: ".modal-header"+ });}// Public Methodsdiff --git a/data/js/fileopener.js b/data/js/fileopener.jsindex 96ec92156..6c58dd1fa 100644--- a/data/js/fileopener.js+++ b/data/js/fileopener.js@@ -501,6 +501,9 @@ define(function(require, exports, module) {backdrop: 'static',show: true});+ $('#dialogFileProperties').draggable({+ handle: ".modal-header"+ });});}diff --git a/data/js/options.ui.js b/data/js/options.ui.jsindex f08720e98..ed83b9415 100644--- a/data/js/options.ui.js+++ b/data/js/options.ui.js@@ -185,6 +185,9 @@ define(function(require, exports, module) {backdrop: 'static',show: true});+ $('#dialogOptions').draggable({+ handle: ".modal-header"+ });}function parseKeyBinding(keybinding) {diff --git a/data/js/tags.ui.js b/data/js/tags.ui.jsindex a573aceba..c3a466555 100644--- a/data/js/tags.ui.js+++ b/data/js/tags.ui.js@@ -459,6 +459,9 @@ define(function(require, exports, module) {backdrop: 'static',show: true});+ $('#dialogTagCreate').draggable({+ handle: ".modal-header"+ });}function showImportTagsDialog(tagGroups) {@@ -483,6 +486,9 @@ define(function(require, exports, module) {backdrop: 'static',show: true});+ $('#dialogImportTags').draggable({+ handle: ".modal-header"+ });});}@@ -508,6 +514,9 @@ define(function(require, exports, module) {backdrop: 'static',show: true});+ $('#dialogEditTagGroup').draggable({+ handle: ".modal-header"+ });}function showDialogTagGroupCreate() {@@ -532,6 +541,9 @@ define(function(require, exports, module) {backdrop: 'static',show: true});+ $('#dialogTagGroupCreate').draggable({+ handle: ".modal-header"+ });}function showTagEditInTreeDialog() {@@ -577,6 +589,9 @@ define(function(require, exports, module) {backdrop: 'static',show: true});+ $('#dialogEditInTreeTag').draggable({+ handle: ".modal-header"+ });}function showAddTagsDialog() {@@ -605,6 +620,9 @@ define(function(require, exports, module) {backdrop: 'static',show: true});+ $('#dialogAddTags').draggable({+ handle: ".modal-header"+ });}// Public Vars