mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-10 11:59:58 +00:00
Fix problem with erroneous initialisation of changedTiddlers member
This commit is contained in:
parent
e583c1d72d
commit
647bd51299
@ -122,7 +122,7 @@ This method should be called after the changes it describes have been made to th
|
|||||||
exports.enqueueTiddlerEvent = function(title,isDeleted) {
|
exports.enqueueTiddlerEvent = function(title,isDeleted) {
|
||||||
// Record the touch in the list of changed tiddlers
|
// Record the touch in the list of changed tiddlers
|
||||||
this.changedTiddlers = this.changedTiddlers || {};
|
this.changedTiddlers = this.changedTiddlers || {};
|
||||||
this.changedTiddlers[title] = this.changedTiddlers[title] || [];
|
this.changedTiddlers[title] = this.changedTiddlers[title] || {};
|
||||||
this.changedTiddlers[title][isDeleted ? "deleted" : "modified"] = true;
|
this.changedTiddlers[title][isDeleted ? "deleted" : "modified"] = true;
|
||||||
// Increment the change count
|
// Increment the change count
|
||||||
this.changeCount = this.changeCount || {};
|
this.changeCount = this.changeCount || {};
|
||||||
|
Loading…
Reference in New Issue
Block a user