From 647bd51299cb59e2fd2d9de1ca3fff122cd876ca Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Wed, 3 Jul 2013 16:00:48 +0100 Subject: [PATCH] Fix problem with erroneous initialisation of changedTiddlers member --- core/modules/wiki.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/wiki.js b/core/modules/wiki.js index 670c40a84..e6840a435 100644 --- a/core/modules/wiki.js +++ b/core/modules/wiki.js @@ -122,7 +122,7 @@ This method should be called after the changes it describes have been made to th exports.enqueueTiddlerEvent = function(title,isDeleted) { // Record the touch in the list of changed tiddlers this.changedTiddlers = this.changedTiddlers || {}; - this.changedTiddlers[title] = this.changedTiddlers[title] || []; + this.changedTiddlers[title] = this.changedTiddlers[title] || {}; this.changedTiddlers[title][isDeleted ? "deleted" : "modified"] = true; // Increment the change count this.changeCount = this.changeCount || {};