Ticket #1114 (new defect)
Tag param from newTiddler macro shows up in title field in edit mode
| Reported by: | shavinder | Owned by: | JeremyRuston |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.7.1 |
| Component: | core | Version: | 2.5.02 |
| Severity: | low | Keywords: | |
| Cc: |
Description (last modified by FND) (diff)
when a new tiddler is created based upon a custom editTemplate in which no tags field is defined in edit mode, the value passed through tag parameter in the newTiddler macro is displayed in the Title field displayed in edit mode.
the editTemplate is this:
<!--{{{-->
<div class="toolbar border" macro="toolbar [[ToolbarCommands::EditToolbar]]"></div>
<div class="title" macro="view title"></div>
<div class="title" macro="edit title"></div>
<!--}}}-->
the newTiddler macro call is this:
<<newTiddler label:"myLabel" title:"myTitle" tag:"myTag" template:"myTemplate">>
The result is:
the title field in the created tiddler would show the string "myTitle myTag" instead of just "myTitle".
Change History
Note: See
TracTickets for help on using
tickets.
