diff options
author | Andrew Dolgov <[email protected]> | 2006-05-23 07:35:27 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-05-23 07:35:27 +0100 |
commit | 772bc83b8d9381e83e09462d4f6be3f93e567e98 (patch) | |
tree | 4cecc6aae0cdede4165aca84b394e29e3f10b1b4 | |
parent | e8bd0da9526712b6a2baa453133380608cd57af6 (diff) |
remove rpc_pnotify_callback
-rw-r--r-- | functions.js | 7 | ||||
-rw-r--r-- | viewfeed.js | 6 |
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); } |