1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-26 01:50:28 +00:00
TiddlyWiki5/core/modules/utils/dom
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
..
animations Restored animations for the reveal widget 2013-11-01 17:23:08 +00:00
animator.js Fix animation behaviour of reveal widget 2013-11-02 09:21:11 +00:00
browser.js Limited implementation of external text tiddlers in the browser 2015-08-29 16:33:04 +01:00
csscolorparser.js Provisionally make tag pill foreground colour be responsive 2014-11-06 13:35:48 +00:00
csscolorparser.js.meta Provisionally make tag pill foreground colour be responsive 2014-11-06 13:35:48 +00:00
dom.js PageScroller: scroll in new windows (#3537) 2018-11-13 18:07:55 +00:00
dragndrop.js Add more logging for drop operations 2018-09-13 20:42:35 +01:00
http.js Update code comment for $tw.utils.http 2018-08-23 13:13:49 +01:00
keyboard.js Introduce text editor toolbar (#2315) 2016-04-22 08:36:29 +01:00
modal.js Modals: Display in source-window (#3539) 2018-11-18 20:57:04 +00:00
notifier.js Refinements to 87fa7f972c 2016-10-18 16:39:18 +01:00
popup.js Add stateTitle stateField stateIndex attributes (#3529) 2018-11-18 19:16:46 +00:00
scroller.js [pagescroller] add callback function option (#3473) 2018-11-15 14:58:32 +00:00