From 97e6b7c4ba1938a46ea18d3ef96eba2d6246dab0 Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Fri, 27 May 2016 20:20:33 -0400 Subject: Wiki deletion works --- view/tpl/wiki.tpl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view') 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'); -- cgit v1.2.3