diff --git a/core/modules/widgets/navigator.js b/core/modules/widgets/navigator.js index fe45a3850..0b48723a2 100755 --- a/core/modules/widgets/navigator.js +++ b/core/modules/widgets/navigator.js @@ -308,7 +308,7 @@ NavigatorWidget.prototype.handleSaveTiddlerEvent = function(event) { } )); } - if(!this.wiki.isDraftModified(title)) { + if(!isRename && !this.wiki.isDraftModified(title)) { event.type = "tw-cancel-tiddler"; this.dispatchEvent(event); } else if(isConfirmed) { diff --git a/core/modules/wiki.js b/core/modules/wiki.js index 1706bb1ed..73b0c9ab6 100755 --- a/core/modules/wiki.js +++ b/core/modules/wiki.js @@ -1089,7 +1089,7 @@ exports.isDraftModified = function(title) { if(!tiddler.isDraft()) { return false; } - var ignoredFields = ["created", "modified", "title", "draft.title", "draft.of", "tags"], + var ignoredFields = ["created", "modified", "title", "draft.title", "draft.of"], origTiddler = this.getTiddler(tiddler.fields["draft.of"]); if(!origTiddler) { return true;