From 0edfc855b4b7c9ad94b49ec77013ace2ee547fb0 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Thu, 27 Jun 2013 10:19:38 +0100 Subject: [PATCH] Replace obsolete content type --- core/modules/utils/dom/modal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/utils/dom/modal.js b/core/modules/utils/dom/modal.js index e157007f0..a23bc1788 100644 --- a/core/modules/utils/dom/modal.js +++ b/core/modules/utils/dom/modal.js @@ -71,7 +71,7 @@ Modal.prototype.display = function(title,options) { } else { titleText = title; } - var headerParser = this.wiki.parseText("text/vnd.tiddlywiki-run",titleText,{parseAsInline: true}), + var headerParser = this.wiki.parseText("text/vnd.tiddlywiki",titleText,{parseAsInline: true}), headerRenderTree = new $tw.WikiRenderTree(headerParser,{wiki: $tw.wiki, context: {tiddlerTitle: title}, document: document}); headerRenderTree.execute(); headerRenderTree.renderInDom(headerTitle); @@ -107,7 +107,7 @@ Modal.prototype.display = function(title,options) { } else { footerText = '<$button message="tw-close-tiddler" class="btn btn-primary">Close'; } - var footerParser = this.wiki.parseText("text/vnd.tiddlywiki-run",footerText,{parseAsInline: true}), + var footerParser = this.wiki.parseText("text/vnd.tiddlywiki",footerText,{parseAsInline: true}), footerRenderTree = new $tw.WikiRenderTree(footerParser,{wiki: $tw.wiki, context: {tiddlerTitle: title}, document: document}); footerRenderTree.execute(); footerRenderTree.renderInDom(modalFooterButtons);