]> git.wh0rd.org - tt-rss.git/blobdiff - viewfeed.js
remove rpc_pnotify_callback
[tt-rss.git] / viewfeed.js
index 809d36d4e07632789ebdf098a41f76d1c88a6264..5a11c4e99d6b2c9ddcf658d0ba508adb0121f022 100644 (file)
@@ -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);
 
 }