summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions.js7
-rw-r--r--viewfeed.js6
2 files changed, 3 insertions, 10 deletions
diff --git a/functions.js b/functions.js
index 58d50eea9..f642cda85 100644
--- a/functions.js
+++ b/functions.js
@@ -47,13 +47,6 @@ function rpc_notify_callback() {
}
}
-function rpc_pnotify_callback() {
- var container = parent.document.getElementById('notify');
- if (xmlhttp_rpc.readyState == 4) {
- container.innerHTML=xmlhttp_rpc.responseText;
- }
-}
-
function param_escape(arg) {
if (typeof encodeURIComponent != 'undefined')
return encodeURIComponent(arg);
diff --git a/viewfeed.js b/viewfeed.js
index 809d36d4e..5a11c4e99 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -108,9 +108,9 @@ function toggleMark(id) {
}
}
- xmlhttp_rpc.open("GET", query, true);
- xmlhttp_rpc.onreadystatechange=rpc_pnotify_callback;
- xmlhttp_rpc.send(null);
+ debug("toggle starred for aid " + id);
+
+ new Ajax.Request(query);
}