aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-12 23:15:30 -0700
committerzotlabs <mike@macgirvin.com>2017-09-12 23:15:30 -0700
commit796228b7ad3cac90b23de2954445021578635105 (patch)
tree9e6170a02e2f100c47ba06a5b3026b957351801f /view
parent7489a4442ea2041450b3477400c0ecb29b8670d9 (diff)
downloadvolse-hubzilla-796228b7ad3cac90b23de2954445021578635105.tar.gz
volse-hubzilla-796228b7ad3cac90b23de2954445021578635105.tar.bz2
volse-hubzilla-796228b7ad3cac90b23de2954445021578635105.zip
wiki mimetype selection. We can add text/plain as soon as we add code to purify and render it specifically.
Diffstat (limited to 'view')
-rw-r--r--view/tpl/wiki.tpl3
1 files changed, 2 insertions, 1 deletions
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) {