diff options
author | Andrew Dolgov <[email protected]> | 2005-08-25 16:26:33 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-08-25 16:26:33 +0100 |
commit | e2ec66a823f4dc9c3e289a8bc8b90c297c883ee3 (patch) | |
tree | 24b5944f4434318ef5804f4465d84883f8b18136 /prefs.js | |
parent | c0e5a40e7307d06eb9926d2645899e9699be54bc (diff) |
MSIE5 compatibility workarounds (2)
Diffstat (limited to 'prefs.js')
-rw-r--r-- | prefs.js | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -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(""); |