diff --git a/demo/public/js/page.js b/demo/public/js/page.js index 06d6a97..727c65e 100644 --- a/demo/public/js/page.js +++ b/demo/public/js/page.js @@ -73,7 +73,7 @@ function new_comment() { function submit_success(data) { console.log('submit ' + data); - // TODO redirect to redirect page with page as argument + window.location="redirect.html?p=" + STACOSYS_PAGE; } function submit_failure(error) { diff --git a/demo/public/redirect.html b/demo/public/redirect.html index c7dc481..4d05f0c 100644 --- a/demo/public/redirect.html +++ b/demo/public/redirect.html @@ -8,18 +8,18 @@ Le blog du Yax - + - + - - + + - + @@ -44,23 +44,20 @@