added placeholders for error handling in CrossDomainLogin
This commit is contained in:
parent
ba6b6f277a
commit
2a56efd353
@ -51,6 +51,8 @@ $(document).ready(function(){
|
|||||||
}
|
}
|
||||||
}).done(function() {
|
}).done(function() {
|
||||||
NProgress.inc(1 / XHR.length);
|
NProgress.inc(1 / XHR.length);
|
||||||
|
}).fail(function() {
|
||||||
|
// Should check why this failed (timeout or bad request?), and if this is the origin domain, take action
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
$.when.apply($, XHR).then(function(){
|
$.when.apply($, XHR).then(function(){
|
||||||
|
Loading…
Reference in New Issue
Block a user