diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-06-25 14:29:52 -0500 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-06-25 14:29:52 -0500 |
commit | 0df3978cc5891f1383dd0dbcdc1c6b4c0010e645 (patch) | |
tree | 26549c9d00b9af36faa5c452cbe0ac95379451e9 /view/tpl | |
parent | 241b257556826e172707689b89e6f07687f8f556 (diff) | |
download | volse-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.tpl | 2 |
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 { |