No Close Button on Popup dialogues "modals" and TiddlyMap?

68 views
Skip to first unread message

TonyM

unread,
Mar 12, 2019, 10:24:40 PM3/12/19
to TiddlyWiki
Folks,

I installed tiddlymap to an existing wiki 5.1.19
However all the modals that popup do not have a close button
Fortunately I have a MyMenu that allows me to save and reload the wiki, but otherwise I would be dead in the water.
This problem my have pre-existed my TiddlyMap install, and only now I see it, not sure.

I believe this has already being encountered, can anyone share how to fix this and is it a bug, with a bug report?

Regards
Tony

TonyM

unread,
Mar 15, 2019, 8:11:28 PM3/15/19
to TiddlyWiki
Bump?

Any suggestions, this is stopping my key wiki from using plugins that may throw a modal dialoge. As I cant close such dialogues.

Regards
Tony

Joshua Fontany

unread,
Mar 15, 2019, 9:35:09 PM3/15/19
to TiddlyWiki
I had to use this in a "footer" field in the plugin-management modal tiddler to get a close button. You would have to find out what modal tiddler is and replace the `param` below with that tiddler name.

footer: <$button class="tc-btn-invisible tc-tiddlylink" tooltip="Close this modal window." message="tm-close-tiddler" param="$:/plugins/joshuafontany/jsonmangler/ui/modals/packplugin" > {{$:/core/images/cancel-button}} Cancel </$button>


Best,
-Joshua F

TonyM

unread,
Mar 15, 2019, 9:42:19 PM3/15/19
to TiddlyWiki
Thanks Joshua.

Tony

S. S.

unread,
Mar 16, 2019, 1:41:14 AM3/16/19
to TiddlyWiki
Tony,

Similar to what Joshua has said, the modal needs the field -

footer : <$button message="tm-close-tiddler">Close</$button>

You can see an example here: https://tiddlywiki.com/#SampleWizard which is the modal called by: https://tiddlywiki.com/#Modals

There is also a recent revival of an old issue: https://github.com/Jermolene/TiddlyWiki5/issues/1215

Regards
Reply all
Reply to author
Forward
0 new messages