mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-24 02:27:19 +00:00
Fix problem with overwriting existing tiddlers
This commit is contained in:
parent
38530f14f2
commit
9987e6de22
@ -307,7 +307,8 @@ NavigatorWidget.prototype.handleSaveTiddlerEvent = function(event) {
|
|||||||
{title: draftTitle}
|
{title: draftTitle}
|
||||||
}
|
}
|
||||||
));
|
));
|
||||||
} else if(!this.wiki.isDraftModified(title)) {
|
}
|
||||||
|
if(!this.wiki.isDraftModified(title)) {
|
||||||
event.type = "tw-cancel-tiddler";
|
event.type = "tw-cancel-tiddler";
|
||||||
this.dispatchEvent(event);
|
this.dispatchEvent(event);
|
||||||
} else if(isConfirmed) {
|
} else if(isConfirmed) {
|
||||||
|
Loading…
Reference in New Issue
Block a user