fix uninitialized xmlhttprequest object in feedlist.js

This commit is contained in:
Andrew Dolgov 2005-12-31 09:03:45 +01:00
parent 12db369ca7
commit fadfe7d9b4
1 changed files with 3 additions and 0 deletions

View File

@ -9,14 +9,17 @@ try {
} catch (e) {
try {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp_rpc = new ActiveXObject("Microsoft.XMLHTTP");
} catch (E) {
xmlhttp = false;
xmlhttp_rpc = false;
}
}
@end @*/
if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
xmlhttp = new XMLHttpRequest();
xmlhttp_rpc = new XMLHttpRequest();
}
function viewfeed(feed, skip, subop, doc) {