1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 11:35:55 +00:00

show tag cloud instead of flat tag list

This commit is contained in:
Andrew Dolgov
2007-05-17 12:58:38 +01:00
parent 1ba6daf78e
commit 0979b696e4
6 changed files with 100 additions and 9 deletions

View File

@@ -27,20 +27,26 @@ function tagsAreDisplayed() {
return display_tags;
}
function toggleTags() {
display_tags = !display_tags;
function toggleTags(show_all) {
var p = document.getElementById("dispSwitchPrompt");
if (display_tags) {
if (!show_all && !display_tags) {
displayDlg("printTagCloud");
} else if (show_all) {
closeInfoBox();
display_tags = true;
p.innerHTML = __("display feeds");
} else {
p.innerHTML = __("display tags");
notify_progress("Loading, please wait...");
updateFeedList();
} else if (display_tags) {
display_tags = false;
p.innerHTML = __("tag cloud");
notify_progress("Loading, please wait...");
updateFeedList();
}
notify_progress("Loading, please wait...");
updateFeedList();
return false;
}
function dlg_frefresh_callback() {
@@ -514,6 +520,7 @@ function quickMenuGo(opid) {
if (opid == "qmcAddFilter") {
displayDlg("quickAddFilter", getActiveFeedId());
}
} catch (e) {
exception_error("quickMenuGo", e);
}