reload location.

This commit is contained in:
Stefan Midjich 2016-04-20 13:02:20 +02:00
parent dfc2071ce0
commit d304ff0e4d
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ var debug = true;
function do_success() {
console.log('success: '+window.location);
// Do something like refresh the window or go to another URL.
location.reload();
}
// Show an error to the user