Fixed login error display
This commit is contained in:
parent
9c8b4c18d3
commit
bf9233401f
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ function SyncServer() {
|
||||||
function(data, textStatus) {
|
function(data, textStatus) {
|
||||||
console.log(data);
|
console.log(data);
|
||||||
if (textStatus=='success') {
|
if (textStatus=='success') {
|
||||||
if(jQuery.type(data.email) && jQuery.type(data.name)) {
|
if(jQuery.type(data.email) != 'undefined' && jQuery.type(data.name) != 'undefined') {
|
||||||
console.log('Login success return');
|
console.log('Login success return');
|
||||||
console.log(onsuccess);
|
console.log(onsuccess);
|
||||||
onsuccess(data);
|
onsuccess(data);
|
||||||
|
|
Loading…
Reference in a new issue