mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-26 22:28:18 +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.
|
Check whether the specified draft tiddler has been modified.
|
||||||
If the original tiddler doesn't exist, create a vanilla tiddler variable,
|
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) {
|
exports.isDraftModified = function(title) {
|
||||||
var tiddler = this.getTiddler(title);
|
var tiddler = this.getTiddler(title);
|
||||||
|
Loading…
Reference in New Issue
Block a user