Added new tiddler button

This commit is contained in:
Jeremy Ruston
2013-01-17 11:38:02 +00:00
parent aba120befc
commit 94744843b6
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ NavigatorWidget.prototype.handleNewTiddlerEvent = function(event) {
// Add a new record to the top of the history stack
var history = this.renderer.renderTree.wiki.getTiddlerData(this.historyTitle,[]);
history.push({title: draftTitle});
this.renderer.renderTree.wiki.setTiddlerData(this.historyTitle,historyList);
this.renderer.renderTree.wiki.setTiddlerData(this.historyTitle,history);
event.stopPropagation();
return false;
};