mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Retract change to new tiddler handling in navigator.js
Original commit: d5c31ed07f
This commit is contained in:
parent
2c6e7ef489
commit
4194f9f20f
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user