don't throw error dialogs on 404

This commit is contained in:
rlx 2011-10-27 21:15:51 +00:00
parent 410fae0098
commit 3605c0d2ac

View file

@ -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] = { cache[req] = {
data: data, data: data,
time: Ox.getTime() time: Ox.getTime()