aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-06-25 14:29:52 -0500
committerAndrew Manning <tamanning@zoho.com>2016-06-25 14:29:52 -0500
commit0df3978cc5891f1383dd0dbcdc1c6b4c0010e645 (patch)
tree26549c9d00b9af36faa5c452cbe0ac95379451e9 /view/tpl
parent241b257556826e172707689b89e6f07687f8f556 (diff)
downloadvolse-hubzilla-0df3978cc5891f1383dd0dbcdc1c6b4c0010e645.tar.gz
volse-hubzilla-0df3978cc5891f1383dd0dbcdc1c6b4c0010e645.tar.bz2
volse-hubzilla-0df3978cc5891f1383dd0dbcdc1c6b4c0010e645.zip
A page name wrapped in double brackets is converted into a link to another page in the current wiki
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/wiki.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl
index d0744009d..1d8570828 100644
--- a/view/tpl/wiki.tpl
+++ b/view/tpl/wiki.tpl
@@ -200,7 +200,7 @@
editor.getSession().setValue(window.wiki_page_content);
$('#wiki-get-preview').click(function (ev) {
- $.post("wiki/{{$channel}}/preview", {content: editor.getValue()}, function (data) {
+ $.post("wiki/{{$channel}}/preview", {content: editor.getValue(), resource_id: window.wiki_resource_id}, function (data) {
if (data.success) {
$('#wiki-preview').html(data.html);
} else {