don't throw error dialogs on 404
This commit is contained in:
parent
410fae0098
commit
3605c0d2ac
1 changed files with 3 additions and 1 deletions
|
@ -192,7 +192,9 @@ Ox.Request = function(options) {
|
|||
};
|
||||
}
|
||||
}
|
||||
if (data.status.code == 200) {
|
||||
if (data.status.code == 200 || data.status.code == 404) {
|
||||
// we have to include 404 so we can
|
||||
// test for the existence of things
|
||||
cache[req] = {
|
||||
data: data,
|
||||
time: Ox.getTime()
|
||||
|
|
Loading…
Reference in a new issue