MSIE5 compatibility workarounds (2)

This commit is contained in:
Andrew Dolgov 2005-08-25 16:26:33 +01:00
parent c0e5a40e73
commit e2ec66a823
2 changed files with 15 additions and 2 deletions

View File

@ -275,7 +275,20 @@ function localPiggieFunction(enable) {
}
function init() {
// IE kludge
if (xmlhttp && !xmlhttp_rpc) {
xmlhttp_rpc = xmlhttp;
}
if (!xmlhttp || !xmlhttp_rpc) {
document.getElementById("prefContent").innerHTML =
"<b>Fatal error:</b> This program needs XmlHttpRequest " +
"to function properly. Your browser doesn't seem to support it.";
return;
}
updateFeedList();
document.onkeydown = hotkey_handler;
notify("");

View File

@ -27,7 +27,7 @@
</td>
</tr>
</tr>
<td class="prefContent" valign="top" colspan="2">
<td id="prefContent" class="prefContent" valign="top" colspan="2">
<h2>Feed Configuration</h2>
<!--