fix uninitialized xmlhttprequest object in feedlist.js
This commit is contained in:
parent
12db369ca7
commit
fadfe7d9b4
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue