mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-22 14:00:03 +00:00
Fix problem with tabs switching on language change
In 5.0.12-beta, if you change the current language setting then the current sidebar tab setting is lost. This was because the qualified title generated for the tabs was incorporating the current language title, by virtue of a trick used in the PageTemplate to set the “languageTitle” variable to a field of the current language plugin. This trick left the current tiddler set to the current language, and this current tiddler was still in force for the transclusion of the page template segments.
This commit is contained in:
parent
d2edd9291e
commit
ffd9df670d
@ -10,6 +10,8 @@ tw-page-container tw-page-view-$(themeTitle)$ tw-language-$(languageTitle)$
|
||||
|
||||
<$set name="languageTitle" value={{!!name}}>
|
||||
|
||||
<$set name="currentTiddler" value="">
|
||||
|
||||
<div class=<<containerClasses>>>
|
||||
|
||||
<$navigator story="$:/StoryList" history="$:/HistoryList">
|
||||
@ -33,3 +35,5 @@ tw-page-container tw-page-view-$(themeTitle)$ tw-language-$(languageTitle)$
|
||||
</$set>
|
||||
|
||||
</$set>
|
||||
|
||||
</$set>
|
||||
|
Loading…
x
Reference in New Issue
Block a user