aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wiki.tpl
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-05-27 20:20:33 -0400
committerAndrew Manning <tamanning@zoho.com>2016-05-27 20:20:33 -0400
commit97e6b7c4ba1938a46ea18d3ef96eba2d6246dab0 (patch)
tree13e90b240d74f1a79d223fbe732a2571c641c5e9 /view/tpl/wiki.tpl
parentd554681174084e1715dfae4c21af9f6edcbad59e (diff)
downloadvolse-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.tpl2
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');