From 67cf0d4aa7ba5e616809e61ed4c9fbe4e5248ec2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 13 Feb 2009 12:35:35 +0300 Subject: [PATCH] offline: add placeholder actions dropbox --- offline.js | 24 ++++++++++++++++++++++++ tt-rss.js | 4 ++++ 2 files changed, 28 insertions(+) diff --git a/offline.js b/offline.js index d9b32cf28..e146b55e1 100644 --- a/offline.js +++ b/offline.js @@ -166,6 +166,30 @@ function viewfeed_offline(feed_id, subop, is_cat, subop_param, skip_history, off tmp += "  "; + tmp += "" + + __("Actions...") + "  " + + ""; + + tmp += ""; + tmp += ""; tmp += "
"; diff --git a/tt-rss.js b/tt-rss.js index f6eea6661..e5bcbf595 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -142,6 +142,10 @@ function backend_sanity_check_callback(transport) { } } + if (getURLParam("offline")) { + return init_offline(); + } + var reply = transport.responseXML.firstChild.firstChild; if (!reply) {