|
@@ -235,16 +235,15 @@ var BasicFunction = new (function () {
|
|
|
};
|
|
|
|
|
|
this.on_dat_success = function(responseJson) {
|
|
|
-
|
|
|
- var a = response;
|
|
|
- if (BasicFunction.check_if_authfail(a, {})) {
|
|
|
- BasicFunction.setCookieWithTimeout("doibyUser", "", -10);
|
|
|
- location.href = "sign-in1.html?from=entrance-5&msg=server-redirect-detected";
|
|
|
- return;
|
|
|
- }
|
|
|
- if (BasicFunction.check_if_success(a, {})) {
|
|
|
- return a;
|
|
|
- }
|
|
|
+ var a = responseJson;
|
|
|
+ // if (BasicFunction.check_if_authfail(a, {})) {
|
|
|
+ // BasicFunction.setCookieWithTimeout("doibyUser", "", -10);
|
|
|
+ // location.href = "sign-in1.html?from=entrance-5&msg=server-redirect-detected";
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
+ //BasicFunction.check_if_success(a, {})) {
|
|
|
+ return a;
|
|
|
+ //}
|
|
|
};
|
|
|
|
|
|
this.check_if_authfail = function (errormsg) {
|