diff options
author | Andrew Dolgov <[email protected]> | 2013-03-27 22:41:12 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-27 22:41:12 +0400 |
commit | f820f205d0ec1c5ce9027e49755fc8642b0c5b42 (patch) | |
tree | b07cb37df439735543cafd7368aa2316ef6f9882 /js | |
parent | 919984a43644da47a978b8ddd6d07be7273f6366 (diff) |
css cleanup; remove auxDlg; add separate prefs.css
Diffstat (limited to 'js')
-rw-r--r-- | js/feedlist.js | 23 | ||||
-rw-r--r-- | js/functions.js | 9 | ||||
-rw-r--r-- | js/viewfeed.js | 6 |
3 files changed, 0 insertions, 38 deletions
diff --git a/js/feedlist.js b/js/feedlist.js index 7385177d1..ec3b09dab 100644 --- a/js/feedlist.js +++ b/js/feedlist.js @@ -88,8 +88,6 @@ function viewfeed(feed, method, is_cat, offset, background, infscroll_req) { _infscroll_request_sent = timestamp; } - - hideAuxDlg(); } Form.enable("main_toolbar_form"); @@ -206,23 +204,6 @@ function request_counters(force) { } } -function displayNewContentPrompt(id) { - try { - - var msg = "<a href='#' onclick='viewCurrentFeed()'>" + - __("New articles available in this feed (click to show)") + "</a>"; - - msg = msg.replace("%s", getFeedName(id)); - - $('auxDlg').innerHTML = msg; - - new Effect.Appear('auxDlg', {duration : 0.5}); - - } catch (e) { - exception_error("displayNewContentPrompt", e); - } -} - function parse_counters(elems, scheduled_call) { try { for (var l = 0; l < elems.length; l++) { @@ -245,10 +226,6 @@ function parse_counters(elems, scheduled_call) { continue; } - if (id == getActiveFeedId() && ctr > getFeedUnread(id) && scheduled_call) { - displayNewContentPrompt(id); - } - if (getFeedUnread(id, (kind == "cat")) != ctr || (kind == "cat")) { } diff --git a/js/functions.js b/js/functions.js index ec170a7d9..7da9abfbd 100644 --- a/js/functions.js +++ b/js/functions.js @@ -717,15 +717,6 @@ function hotkey_prefix_timeout() { } } -function hideAuxDlg() { - try { - Element.hide('auxDlg'); - } catch (e) { - exception_error("hideAuxDlg", e); - } -} - - function uploadIconHandler(rc) { try { switch (rc) { diff --git a/js/viewfeed.js b/js/viewfeed.js index 87bb02be3..28d4ea8ec 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -347,8 +347,6 @@ function view(id) { console.log("cache check result: " + (cached_article != false)); - hideAuxDlg(); - var query = "?op=article&method=view&id=" + param_escape(id); var neighbor_ids = getRelativePostIds(id); @@ -1433,8 +1431,6 @@ function cdmExpandArticle(id) { if (!$("RROW-" + id)) return false; - hideAuxDlg(); - var elem = $("CICD-" + getActiveArticleId()); if (id == getActiveArticleId() && Element.visible(elem)) @@ -1643,8 +1639,6 @@ function cdmClicked(event, id) { try { //var shift_key = event.shiftKey; - hideAuxDlg(); - if (!event.ctrlKey) { if (!getInitParam("cdm_expanded")) { |