Skip to content

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

Keybindings for renaming file (F2)

kristiyandd94c58ac143b5
diff --git a/data/js/core.api.js b/data/js/core.api.js
index 99eac0ede..2ff7ac8c0 100644
--- a/data/js/core.api.js
+++ b/data/js/core.api.js
@@ -257,16 +257,16 @@ define(function(require, exports, module) {
var currentVersion = parseFloat(verC[0] + '.' + verC[1]);
/* Testing the new version notifications
- availableVersion = 2;
- currentVersion = 1;
- availableBuild = 2;
- currentBuild = 1; */
+ availableVersion = 2;
+ currentVersion = 1;
+ availableBuild = 2;
+ currentBuild = 1; */
if (availableVersion > currentVersion || availableVersion == currentVersion && availableBuild > currentBuild) {
$('#newVersionAvailable').css('display', 'block');
/*$('#whatsNewModal iframe').attr('src', 'http://tagspaces.org/whatsnew/');
- $('#whatsNewModal').on('show.bs.modal', function(e) {
- $('#whatsNewModal iframe').attr('src', 'http://tagspaces.org/whatsnew/');
- });*/
+ $('#whatsNewModal').on('show.bs.modal', function(e) {
+ $('#whatsNewModal iframe').attr('src', 'http://tagspaces.org/whatsnew/');
+ });*/
}
}
@@ -294,8 +294,8 @@ define(function(require, exports, module) {
function updateFileModel(model, oldPath, newPath) {
console.log('Removing file from model');
var title = tsTagUtils.extractTitle(newPath),
- fileExt = tsTagUtils.extractFileExtension(newPath),
- fileTags = tsTagUtils.extractTags(newPath);
+ fileExt = tsTagUtils.extractFileExtension(newPath),
+ fileTags = tsTagUtils.extractTags(newPath);
for (var i = 0; i < model.length; i++) {
if (model[i].path == oldPath) {
model[i].path = newPath;
@@ -538,7 +538,6 @@ define(function(require, exports, module) {
exports.createHTMLFile = tsCoreUI.createHTMLFile;
exports.createMDFile = tsCoreUI.createMDFile;
exports.createTXTFile = tsCoreUI.createTXTFile;
- exports.showRenameFileDialog = tsCoreUI.showRenameFileDialog;
// Proxying functions from tsSearchUI
exports.clearSearchFilter = tsSearchUI.clearSearchFilter;