mirror of
https://codeberg.org/prof_x_pvt_ltd/captive.whump.shanti-portal
synced 2024-08-14 22:46:42 +00:00
reload location.
This commit is contained in:
parent
dfc2071ce0
commit
d304ff0e4d
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ var debug = true;
|
||||||
function do_success() {
|
function do_success() {
|
||||||
console.log('success: '+window.location);
|
console.log('success: '+window.location);
|
||||||
// Do something like refresh the window or go to another URL.
|
// Do something like refresh the window or go to another URL.
|
||||||
|
location.reload();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Show an error to the user
|
// Show an error to the user
|
||||||
|
|
Loading…
Reference in a new issue