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
animator.js
browser.js
csscolorparser.js
csscolorparser.js.meta
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