added placeholders for error handling in CrossDomainLogin

This commit is contained in:
Danny Bessems 2019-06-20 08:02:42 +00:00
parent ba6b6f277a
commit 2a56efd353

View File

@ -51,6 +51,8 @@ $(document).ready(function(){
}
}).done(function() {
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(){