aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wiki.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-23 17:48:33 -0700
committerzotlabs <mike@macgirvin.com>2016-10-23 17:48:33 -0700
commit5fbba27d17c78081e784fc2f8e9bb1907b79b4b7 (patch)
tree3c956cc1cddfce4fb32751ae1656c64791e3d844 /view/tpl/wiki.tpl
parent5c891bcfb55c662bfb5d86b0d5695bd03523e842 (diff)
parent0b5d5507800b2e1122eb2432929c203538b2e835 (diff)
downloadvolse-hubzilla-5fbba27d17c78081e784fc2f8e9bb1907b79b4b7.tar.gz
volse-hubzilla-5fbba27d17c78081e784fc2f8e9bb1907b79b4b7.tar.bz2
volse-hubzilla-5fbba27d17c78081e784fc2f8e9bb1907b79b4b7.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'view/tpl/wiki.tpl')
-rw-r--r--view/tpl/wiki.tpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl
index c05b33a61..8fdf56e77 100644
--- a/view/tpl/wiki.tpl
+++ b/view/tpl/wiki.tpl
@@ -239,6 +239,10 @@ function wiki_delete_wiki(wikiHtmlName, resource_id) {
}, 'json');
}
+
+function wiki_download_wiki(resource_id) {
+ window.location = "wiki/{{$channel}}/download/wiki/" + resource_id;
+}
$('#new-page-submit').click(function (ev) {
if (window.wiki_resource_id === '') {