Simple attempt to display the error page returned by the server directly inside SqueezeBox.

Pedro, does it fit your need?
This commit is contained in:
tonio
2010-11-30 18:03:57 +01:00
parent d6cf51203b
commit 7107960c1d
+5 -1
View File
@@ -14,7 +14,11 @@ window.addEvent("domready", function() {
parent.location.href = decode.url;
parent.SqueezeBox.close();
}
}
},
onFailure: function(xhr) {
parent.document.getElement('iframe').setStyles({width: 800, height: 600});
$(dest).set("html", xhr.responseText);
}
});
obj.send();
};