mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-30 03:36:36 +00:00
Refinements to 87fa7f972c
This commit is contained in:
@@ -81,14 +81,16 @@ Modal.prototype.display = function(title,options) {
|
||||
}}}],
|
||||
parentWidget: $tw.rootWidget,
|
||||
document: document,
|
||||
variables: variables
|
||||
variables: variables,
|
||||
importPageMacros: true
|
||||
});
|
||||
headerWidgetNode.render(headerTitle,null);
|
||||
// Render the body of the message
|
||||
var bodyWidgetNode = this.wiki.makeTranscludeWidget(title,{
|
||||
parentWidget: $tw.rootWidget,
|
||||
document: document,
|
||||
variables: variables
|
||||
variables: variables,
|
||||
importPageMacros: true
|
||||
});
|
||||
bodyWidgetNode.render(modalBody,null);
|
||||
// Setup the link if present
|
||||
@@ -128,7 +130,8 @@ Modal.prototype.display = function(title,options) {
|
||||
]}],
|
||||
parentWidget: $tw.rootWidget,
|
||||
document: document,
|
||||
variables: variables
|
||||
variables: variables,
|
||||
importPageMacros: true
|
||||
});
|
||||
footerWidgetNode.render(modalFooterButtons,null);
|
||||
// Set up the refresh handler
|
||||
|
||||
Reference in New Issue
Block a user