summaryrefslogtreecommitdiff
path: root/prefs.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-08-25 16:15:27 +0100
committerAndrew Dolgov <[email protected]>2005-08-25 16:15:27 +0100
commitc0e5a40e7307d06eb9926d2645899e9699be54bc (patch)
treef3bd04c01916755a7a7b39c02a7442b182098aa1 /prefs.js
parent36bf74967c6a6a310a03f2fe30299c8f6bc34124 (diff)
MSIE5 compatibility workarounds
Diffstat (limited to 'prefs.js')
-rw-r--r--prefs.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/prefs.js b/prefs.js
index a9701dd32..3296ee665 100644
--- a/prefs.js
+++ b/prefs.js
@@ -42,7 +42,7 @@ function notify_callback() {
function updateFeedList() {
- if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
+ if (!xmlhttp_ready(xmlhttp)) {
printLockingError();
return
}
@@ -71,7 +71,7 @@ function toggleSelectRow(sender) {
function addFeed() {
- if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
+ if (!xmlhttp_ready(xmlhttp)) {
printLockingError();
return
}
@@ -98,7 +98,7 @@ function editFeed(feed) {
// notify("Editing feed...");
- if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
+ if (!xmlhttp_ready(xmlhttp)) {
printLockingError();
return
}
@@ -128,7 +128,7 @@ function getSelectedFeeds() {
function readSelectedFeeds() {
- if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
+ if (!xmlhttp_ready(xmlhttp)) {
printLockingError();
return
}
@@ -153,7 +153,7 @@ function readSelectedFeeds() {
function unreadSelectedFeeds() {
- if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
+ if (!xmlhttp_ready(xmlhttp)) {
printLockingError();
return
}
@@ -178,7 +178,7 @@ function unreadSelectedFeeds() {
function removeSelectedFeeds() {
- if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
+ if (!xmlhttp_ready(xmlhttp)) {
printLockingError();
return
}
@@ -204,7 +204,7 @@ function removeSelectedFeeds() {
function feedEditCancel() {
- if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
+ if (!xmlhttp_ready(xmlhttp)) {
printLockingError();
return
}
@@ -219,7 +219,7 @@ function feedEditCancel() {
function feedEditSave(feed) {
- if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
+ if (!xmlhttp_ready(xmlhttp)) {
printLockingError();
return
}