From 796228b7ad3cac90b23de2954445021578635105 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Tue, 12 Sep 2017 23:15:30 -0700 Subject: wiki mimetype selection. We can add text/plain as soon as we add code to purify and render it specifically. --- view/tpl/wiki.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'view') diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl index 7cd3708b8..681269002 100644 --- a/view/tpl/wiki.tpl +++ b/view/tpl/wiki.tpl @@ -183,7 +183,8 @@ {{else}} content: editor.val(), {{/if}} - resource_id: window.wiki_resource_id + resource_id: window.wiki_resource_id, + mimetype: '{{$mimeType}}' }, function (data) { if (data.success) { -- cgit v1.2.3