debug Ox.Request
This commit is contained in:
parent
a01926be4d
commit
342b25d9cc
1 changed files with 2 additions and 2 deletions
|
@ -197,8 +197,8 @@ Ox.Request = function(options) {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (data.status.code < 500) {
|
||||
Ox.print('ERROR CODE < 500', data)
|
||||
if (data.status.code && data.status.code < 500) {
|
||||
// 0 is timeout
|
||||
callback(data);
|
||||
} else {
|
||||
var $dialog = Ox.Dialog({
|
||||
|
|
Loading…
Reference in a new issue