diff options
author | Andrew Dolgov <[email protected]> | 2010-11-15 22:31:41 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-15 22:31:41 +0300 |
commit | 0ce6115754fb20ea0a380b1d49235d23ba7c6d05 (patch) | |
tree | 8f1ba812d766704a58f733bd70d806e36529cb96 /tt-rss.js | |
parent | fcf70c510686a0b289f8f5e8713f959d95ae743b (diff) |
enable feedlist collapsing
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 }); |