From: Andrew Dolgov Date: Thu, 25 Aug 2005 15:26:33 +0000 (+0100) Subject: MSIE5 compatibility workarounds (2) X-Git-Tag: 20050826-1~3 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e2ec66a823f4dc9c3e289a8bc8b90c297c883ee3;p=tt-rss.git MSIE5 compatibility workarounds (2) --- diff --git a/prefs.js b/prefs.js index 3296ee66..b6270a6d 100644 --- a/prefs.js +++ b/prefs.js @@ -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 = + "Fatal error: This program needs XmlHttpRequest " + + "to function properly. Your browser doesn't seem to support it."; + return; + } + updateFeedList(); document.onkeydown = hotkey_handler; notify(""); diff --git a/prefs.php b/prefs.php index 56624b6f..d9c21953 100644 --- a/prefs.php +++ b/prefs.php @@ -27,7 +27,7 @@ - +

Feed Configuration