1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-04 07:19:56 +00:00
TiddlyWiki5/core/modules/startup
BurningTreeC 33ba69e852 Modals: Display in source-window (#3539)
* Make modals display in source Window

this makes modals display within the window where they got opened, with the parameter `rootwindow` that, if `yes` or `true`, shows the modal always in the root TW window (`<$action-sendmessage $message="tm-modal" $param="mymodal" rootwindow="yes|true"/>`)

* pass the full event to $tw.modal.display

we need the event there to find `srcDocument` and `srcWindow`

* pass event in options object

* update modal.js to use options.event

* add docs for rootwindow tm-modal attribute
2018-11-18 20:57:04 +00:00
..
browser-messaging.js Add a "close plugin library" button (#2072) 2017-02-22 12:15:26 +00:00
commands.js Report command errors through $tw.utils.error 2014-10-21 19:31:50 +01:00
favicon.js Obeisance to JSHint for core modules 2014-08-30 20:44:26 +01:00
info.js Introduce info mechanism 2014-07-20 18:07:30 +01:00
load-modules.js Refine node vs. browser behaviour 2014-12-18 19:52:15 +00:00
password.js added localisation for encryption dialog & de-DE translation 2015-03-18 18:52:33 +01:00
render.js Add support for splash screens during loading 2018-09-27 09:47:55 +01:00
rootwidget.js Modals: Display in source-window (#3539) 2018-11-18 20:57:04 +00:00
startup.js Add support for global keyboard shortcuts (#3493) 2018-11-06 13:34:51 +00:00
story.js Extend permalink/permaview to optionally copy URL to the clipboard 2018-08-16 19:39:18 +01:00
windows.js New window: add missing click listener for popups (#3538) 2018-11-13 18:08:54 +00:00