diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-23 17:49:15 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-10-23 17:49:15 -0700 |
commit | 8d52a278a964de86f2159441ed0cffe3add0d916 (patch) | |
tree | 5037abae57c01c7ff9f53e760314bb552d2b7773 /view/tpl/wiki.tpl | |
parent | d30892ea601e9131c6dc3b25aeee1f258f72a104 (diff) | |
parent | 5fbba27d17c78081e784fc2f8e9bb1907b79b4b7 (diff) | |
download | volse-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.tpl | 4 |
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 === '') { |