1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 21:25:55 +00:00

enable feedlist collapsing

This commit is contained in:
Andrew Dolgov
2010-11-15 22:31:41 +03:00
parent fcf70c5106
commit 0ce6115754
3 changed files with 22 additions and 5 deletions

View File

@@ -648,7 +648,16 @@ function feedEditSave() {
function collapse_feedlist() {
try {
console.warn("collapse_feedlist: function not implemented");
if (!Element.visible('feeds-holder')) {
Element.show('feeds-holder');
$("collapse_feeds_btn").innerHTML = "<<";
} else {
Element.hide('feeds-holder');
$("collapse_feeds_btn").innerHTML = ">>";
}
dijit.byId("main").resize();
query = "?op=rpc&subop=setpref&key=_COLLAPSED_FEEDLIST&value=true";
new Ajax.Request("backend.php", { parameters: query });