Subversion Repositories SmartDukaan

Rev

Rev 22091 | Rev 22095 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22091 Rev 22092
Line 31... Line 31...
31
        url : context+"/login",
31
        url : context+"/login",
32
        data: {"token":googleUser.getAuthResponse().id_token},
32
        data: {"token":googleUser.getAuthResponse().id_token},
33
        success: function(data, textStatus, request){
33
        success: function(data, textStatus, request){
34
        	console.log(data);
34
        	console.log(data);
35
        	addProfileInLocalDb();
35
        	addProfileInLocalDb();
36
        	window.location.href= context+"//dashboard";
36
        	window.location.href= context+"/dashboard";
37
   		}
37
   		}
38
    });  
38
    });  
39
}
39
}
40
 
40
 
41
function addProfileInLocalDb(){
41
function addProfileInLocalDb(){