summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-02-02 11:49:00 +0300
committerAndrew Dolgov <[email protected]>2009-02-02 11:49:00 +0300
commit49fd1e944f87fb7738a9b58adb64a56110f2155c (patch)
treec7c42f05326ecd8063c50564abcbfc6744b69e41 /viewfeed.js
parent45a15f785acc86b9bf8bfede64567580e51cdc92 (diff)
code cleanup (remove old xmlhttp references)
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js20
1 files changed, 1 insertions, 19 deletions
diff --git a/viewfeed.js b/viewfeed.js
index 0f5345b9b..828a2e89c 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -15,21 +15,6 @@ var post_under_pointer = false;
var last_requested_article = false;
-function catchup_callback() {
- if (xmlhttp_rpc.readyState == 4) {
- try {
- debug("catchup_callback");
- notify("");
- all_counters_callback2(xmlhttp_rpc);
- if (_catchup_callback_func) {
- setTimeout(_catchup_callback_func, 10);
- }
- } catch (e) {
- exception_error("catchup_callback", e);
- }
- }
-}
-
function catchup_callback2(transport, callback) {
try {
debug("catchup_callback2 " + transport + ", " + callback);
@@ -1696,10 +1681,7 @@ function catchupRelativeToArticle(below) {
try {
- if (!xmlhttp_ready(xmlhttp_rpc)) {
- printLockingError();
- }
-
+
if (!getActiveArticleId()) {
alert(__("No article is selected."));
return;