From 654f48b14dcc3dddf118ca19b6174f91358ad870 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Tue, 29 Oct 2013 15:01:36 +0000 Subject: [PATCH] Fix problem with modal titles --- core/modules/utils/dom/modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/utils/dom/modal.js b/core/modules/utils/dom/modal.js index 76cb2f5f3..1f508a940 100644 --- a/core/modules/utils/dom/modal.js +++ b/core/modules/utils/dom/modal.js @@ -75,7 +75,7 @@ Modal.prototype.display = function(title,options) { } var headerParser = this.wiki.new_parseText("text/vnd.tiddlywiki",titleText,{parseAsInline: true}), headerWidgetNode = this.wiki.makeWidget(headerParser,{parentWidget: $tw.rootWidget, document: document}); - headerWidgetNode.render(modalHeader,null); + headerWidgetNode.render(headerTitle,null); this.wiki.addEventListener("change",function(changes) { headerWidgetNode.refresh(changes,modalHeader,null); });