aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wiki.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-23 17:49:15 -0700
committerzotlabs <mike@macgirvin.com>2016-10-23 17:49:15 -0700
commit8d52a278a964de86f2159441ed0cffe3add0d916 (patch)
tree5037abae57c01c7ff9f53e760314bb552d2b7773 /view/tpl/wiki.tpl
parentd30892ea601e9131c6dc3b25aeee1f258f72a104 (diff)
parent5fbba27d17c78081e784fc2f8e9bb1907b79b4b7 (diff)
downloadvolse-hubzilla-8d52a278a964de86f2159441ed0cffe3add0d916.tar.gz
volse-hubzilla-8d52a278a964de86f2159441ed0cffe3add0d916.tar.bz2
volse-hubzilla-8d52a278a964de86f2159441ed0cffe3add0d916.zip
Merge branch 'dev' into pdo
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 === '') {