1
0
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:
Jeremy Ruston 2013-07-03 16:00:48 +01:00
parent e583c1d72d
commit 647bd51299

View File

@ -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 || {};