From 4194f9f20f730247fc7279a453f172308e688fc1 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Fri, 28 Feb 2014 15:31:35 +0000 Subject: [PATCH] Retract change to new tiddler handling in navigator.js Original commit: d5c31ed07f31164cb2c2739ea56e7708fc39e9a4 --- core/modules/widgets/navigator.js | 5 ++--- editions/tw5.com/tiddlers/Release 5.0.8beta.tid | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/core/modules/widgets/navigator.js b/core/modules/widgets/navigator.js index a74796011..d6998f0f0 100755 --- a/core/modules/widgets/navigator.js +++ b/core/modules/widgets/navigator.js @@ -327,11 +327,10 @@ NavigatorWidget.prototype.handleCancelTiddlerEvent = function(event) { NavigatorWidget.prototype.handleNewTiddlerEvent = function(event) { // Get the story details var storyList = this.getStoryList(); - var newTiddlerTitle = event.param || "New Tiddler"; // Get the template tiddler if there is one - var templateTiddler = this.wiki.getTiddler(newTiddlerTitle); + var templateTiddler = this.wiki.getTiddler(event.param); // Create the new tiddler - var title = this.wiki.generateNewTitle((templateTiddler && templateTiddler.fields.title) || newTiddlerTitle); + var title = this.wiki.generateNewTitle((templateTiddler && templateTiddler.fields.title) || "New Tiddler"); var tiddler = new $tw.Tiddler(this.wiki.getCreationFields(),{ text: "Newly created tiddler", title: title diff --git a/editions/tw5.com/tiddlers/Release 5.0.8beta.tid b/editions/tw5.com/tiddlers/Release 5.0.8beta.tid index 9cf4c8579..fdf4a59e4 100644 --- a/editions/tw5.com/tiddlers/Release 5.0.8beta.tid +++ b/editions/tw5.com/tiddlers/Release 5.0.8beta.tid @@ -63,7 +63,6 @@ See [[Notes for upgrading to 5.0.8-beta]] for more details of these changes: * Fixed problem with pasting items into the browser * Fixed problem with colour pickers not showing correct colour in Chrome -* Fixed problem with "tw-new-tiddler" message if the skeleton tiddler is missing * [[Fixed|https://github.com/Jermolene/TiddlyWiki5/commit/8e8e31fb9f5ed8f2e5deff0271d434dbe91f503c]] problem with tag pills not working inside table cells * [[Fixed|https://github.com/Jermolene/TiddlyWiki5/commit/6d3d3322e5c676e63d1f64dce89ce86e58dcd715]] problem in client server configuration with ''%'' in tiddler titles * [[Fixed|https://github.com/Jermolene/TiddlyWiki5/commit/7eafd51a7dd89d2174be3dec97033dc0bb206677]] problem with not using placeholder text when editing missing tiddlers