diff --git a/core/modules/new_widgets/navigator.js b/core/modules/new_widgets/navigator.js index 448ce29a2..33702ebf8 100755 --- a/core/modules/new_widgets/navigator.js +++ b/core/modules/new_widgets/navigator.js @@ -127,6 +127,184 @@ NavigatorWidget.prototype.handleCloseTiddlerEvent = function(event) { return false; }; +// Close all tiddlers +NavigatorWidget.prototype.handleCloseAllTiddlersEvent = function(event) { + this.storyList = []; + this.saveStoryList(); + return false; +}; + +// Place a tiddler in edit mode +NavigatorWidget.prototype.handleEditTiddlerEvent = function(event) { + this.getStoryList(); + // Replace the specified tiddler with a draft in edit mode + for(var t=0; t