TagSpaces is an offline, open source, document manager with tagging support
Fixed edit in place functionality
uggrock1c675b7243e1
diff --git a/data/ext/perspectiveDefault/perspectiveUI.js b/data/ext/perspectiveDefault/perspectiveUI.jsindex 947a0ec34..fad2e74b5 100644--- a/data/ext/perspectiveDefault/perspectiveUI.js+++ b/data/ext/perspectiveDefault/perspectiveUI.js@@ -65,7 +65,7 @@ console.debug("Loading UI for perspectiveDefault");var buttonHTML = $('<span>').append($('<button>', {title: "Options for "+fileName,filepath: filePath,- class: 'btn btn-small fileTitleButton',+ class: 'btn fileTitleButton',}).append( $("<i>", { class: "icon-file", }) ).append($("<span>", { class: "caret"}))@@ -390,7 +390,7 @@ console.debug("Loading UI for perspectiveDefault");this.fileTable.$('.fileTitle').editInPlace({callback: function(unused, newTitle) {- TSCORE.TagUtils.changeTitle($(this).parent().children(0).attr("filepath"),newTitle);+ TSCORE.TagUtils.changeTitle($(this).parent().find(".fileTitleButton").attr("filepath"),newTitle);},show_buttons: false,callback_skip_dom_reset: true