Skip to content

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

disabling the file delete shortcur for fixing an issue in the html editor

uggrockd8d8c4d9d779
diff --git a/data/js/fileopener.js b/data/js/fileopener.js
index 3562cc042..ca6f8cda1 100644
--- a/data/js/fileopener.js
+++ b/data/js/fileopener.js
@@ -348,11 +348,11 @@
return false;
});
- Mousetrap.unbind(TSCORE.Config.getDeleteDocumentKeyBinding());
+ /*Mousetrap.unbind(TSCORE.Config.getDeleteDocumentKeyBinding());
Mousetrap.bind(TSCORE.Config.getDeleteDocumentKeyBinding(), function() {
TSCORE.showFileDeleteDialog(_openedFilePath);
return false;
- });
+ });*/
Mousetrap.unbind(TSCORE.Config.getPropertiesDocumentKeyBinding());
Mousetrap.bind(TSCORE.Config.getPropertiesDocumentKeyBinding(), function() {