1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Fix newTagNameTiddler being undefined in ControlPanel (#4326)

* fix newTagNameTiddler being undefined in ControlPanel

* Update Basics.tid

* prevent newTagNameTiddler being undefined

* Update Basics.tid

* Update tag-picker.tid

* Update tag-picker.tid
This commit is contained in:
Simon Huber 2019-10-20 18:00:08 +02:00 committed by Jeremy Ruston
parent 46c90af308
commit 423a942a8f

View File

@ -14,7 +14,7 @@ tags: $:/tags/Macro
</$button> </$button>
\end \end
\define tag-picker() \define tag-picker-inner()
<div class="tc-edit-add-tag"> <div class="tc-edit-add-tag">
<span class="tc-add-tag-name"> <span class="tc-add-tag-name">
<$keyboard key="ENTER" actions=<<add-tag-actions>>> <$keyboard key="ENTER" actions=<<add-tag-actions>>>
@ -48,3 +48,10 @@ tags: $:/tags/Macro
</$reveal> </$reveal>
</div> </div>
\end \end
\define tag-picker()
<$list filter="[<newTagNameTiddler>match[]]" emptyMessage=<<tag-picker>>>
<$set name="newTagNameTiddler" value=<<qualify "$:/temp/NewTagName">>>
<<tag-picker>>
</$set>
</$list>
\end