mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
see #102
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:
+5
-1
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user