Commit 342220f0 by John Jarvis

js syntax

parent 4b93ef49
......@@ -37,9 +37,9 @@
if(json.success) {
$('.message.submission-error').removeClass('is-shown');
var u=decodeURI(window.location.search);
next=u.split("next=")[1]
next=u.split("next=")[1];
if (next) {
location.href=next
location.href=next;
} else {
location.href="${reverse('dashboard')}";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment