TagSpaces is an offline, open source, document manager with tagging support
Merge branch 'GH426-Keybindings' of https://github.com/tagspaces/tagspaces into develop # data/js/core.ui.js
kristiyandd29ebb430ce0c
diff --git a/data/js/core.ui.js b/data/js/core.ui.jsindex 1942475a3..4d740d78a 100644--- a/data/js/core.ui.js+++ b/data/js/core.ui.js@@ -658,9 +658,11 @@ define(function(require, exports, module) {});}- function showRenameFileDialog(){+ function showRenameFileDialog(filePath){if(TSCORE.selectedFiles[0]){- $('#renamedFileName').val(TSCORE.selectedFiles[0]);+ $('#renamedFileName').attr('filepath', filePath);+ $('#renamedFileName').val(TSCORE.TagUtils.extractFileName(filePath));+ //$('#renamedFileName').val(TSCORE.selectedFiles[0]);$('#formFileRename').validator();$('#formFileRename').submit(function(e) {e.preventDefault();