diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-05-27 20:20:33 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-05-27 20:20:33 -0400 |
commit | 97e6b7c4ba1938a46ea18d3ef96eba2d6246dab0 (patch) | |
tree | 13e90b240d74f1a79d223fbe732a2571c641c5e9 /view/tpl/wiki.tpl | |
parent | d554681174084e1715dfae4c21af9f6edcbad59e (diff) | |
download | volse-hubzilla-97e6b7c4ba1938a46ea18d3ef96eba2d6246dab0.tar.gz volse-hubzilla-97e6b7c4ba1938a46ea18d3ef96eba2d6246dab0.tar.bz2 volse-hubzilla-97e6b7c4ba1938a46ea18d3ef96eba2d6246dab0.zip |
Wiki deletion works
Diffstat (limited to 'view/tpl/wiki.tpl')
-rw-r--r-- | view/tpl/wiki.tpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl index 6ee4a7f89..652434c3e 100644 --- a/view/tpl/wiki.tpl +++ b/view/tpl/wiki.tpl @@ -105,7 +105,9 @@ function wiki_delete_wiki(wikiName, resource_id) { if (data.success) { window.console.log('Wiki deleted'); // Refresh list and redirect page as necessary + window.location = 'wiki/{{$channel}}'; } else { + alert('Error deleting wiki!'); window.console.log('Error deleting wiki.'); } }, 'json'); |