1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

add tooltip with all article tags

This commit is contained in:
Andrew Dolgov
2011-04-19 14:54:27 +04:00
parent e4f7c97622
commit 0780f4f4fd
3 changed files with 22 additions and 7 deletions

View File

@@ -992,10 +992,10 @@ function editArticleTags(id) {
var id = tags_str.id;
var tags = $("ATSTR-" + id);
var tooltip = dijit.byId("ATSTRTIP-" + id);
if (tags) {
tags.innerHTML = tags_str.content;
}
if (tags) tags.innerHTML = tags_str.content;
if (tooltip) tooltip.attr('label', tags_str.content_full);
cache_invalidate(id);
}
@@ -1536,6 +1536,9 @@ function zoomToArticle(event, id) {
if (!event || !event.shiftKey)
return dijit.byId("content-tabs").selectChild(dijit.byId("ATAB-" + id));
if (dijit.byId("ATSTRTIP-" + id))
dijit.byId("ATSTRTIP-" + id).destroyRecursive();
if (cached_article) {
//closeArticlePanel();