1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-21 21:31:28 +00:00

cdm: bring back updated/new pic

This commit is contained in:
Andrew Dolgov
2010-11-13 01:41:18 +03:00
parent 35ffb5b91d
commit 62b800b47c
3 changed files with 37 additions and 7 deletions

View File

@@ -1976,6 +1976,14 @@ function cdmExpandArticle(id) {
var elem = $("CICD-" + active_post_id);
var upd_img_pic = $("FUPDPIC-" + id);
if (upd_img_pic && (upd_img_pic.src.match("updated.png") ||
upd_img_pic.src.match("fresh_sign.png"))) {
upd_img_pic.src = "images/blank_icon.gif";
}
if (id == active_post_id && Element.visible(elem))
return true;
@@ -2339,6 +2347,14 @@ function cdmClicked(event, id) {
if (elem)
elem.className = elem.className.replace("Unread", "");
var upd_img_pic = $("FUPDPIC-" + id);
if (upd_img_pic && (upd_img_pic.src.match("updated.png") ||
upd_img_pic.src.match("fresh_sign.png"))) {
upd_img_pic.src = "images/blank_icon.gif";
}
var query = "?op=rpc&subop=catchupSelected" +
"&cmode=0&ids=" + param_escape(id);