TiddlyWiki5/core/modules/utils
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
..
diff-match-patch
dom Modals: Display in source-window (#3539) 2018-11-18 20:57:04 +00:00
crypto.js
csv.js
edition-info.js
fakedom.js
filesystem.js
logger.js
parsetree.js
performance.js
pluginmaker.js
transliterate.js Transliterate servername to safe ASCII 2018-08-24 14:33:31 +01:00
utils.js Add support for global keyboard shortcuts (#3493) 2018-11-06 13:34:51 +00:00