mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-03-25 04:46:55 +00:00
fixes #2158 check if new fields are present and warn on cancel
This commit is contained in:
parent
7c4ea64210
commit
3977cf009b
@ -1166,7 +1166,7 @@ exports.findDraft = function(targetTitle) {
|
||||
/*
|
||||
Check whether the specified draft tiddler has been modified.
|
||||
If the original tiddler doesn't exist, create a vanilla tiddler variable,
|
||||
to check if aditional fields have been added.
|
||||
to check if additional fields have been added.
|
||||
*/
|
||||
exports.isDraftModified = function(title) {
|
||||
var tiddler = this.getTiddler(title);
|
||||
|
Loading…
x
Reference in New Issue
Block a user