fixed register account problem with sai - reload works
This commit is contained in:
parent
058666836f
commit
dc79bc9aeb
@ -74,7 +74,7 @@ function init_saimod_sys_register(){
|
|||||||
data: null,
|
data: null,
|
||||||
success: function (dataCreate) {
|
success: function (dataCreate) {
|
||||||
if(dataCreate === 1){ // reload -> user will be loged in
|
if(dataCreate === 1){ // reload -> user will be loged in
|
||||||
window.location.href = location.href.replace(/#/g, "");
|
location.reload();
|
||||||
}else{ // show errors
|
}else{ // show errors
|
||||||
alert('Not successfull: '+dataCreate);
|
alert('Not successfull: '+dataCreate);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user