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

pref feeds: index cleanup, split into several methods, use tabs to maximize space for feed tree, persist feed tree state

This commit is contained in:
Andrew Dolgov
2021-02-13 18:32:02 +03:00
parent 9684ce5c4b
commit 17413078a7
11 changed files with 227 additions and 235 deletions

View File

@@ -217,10 +217,6 @@ class Pref_Labels extends Handler_Protected {
</div>
<div style='padding : 0px' dojoType='dijit.layout.ContentPane' region='center'>
<div id='labellistLoading'>
<img src='images/indicator_tiny.gif'><?php echo("Loading, please wait...") ?>
</div>
<div dojoType='dojo.data.ItemFileWriteStore' jsId='labelStore'
url='backend.php?op=pref-labels&method=getlabeltree'>
</div>
@@ -231,9 +227,6 @@ class Pref_Labels extends Handler_Protected {
</div>
<div dojoType='fox.PrefLabelTree' id='labelTree' model='labelModel' openOnClick='true'>
<script type='dojo/method' event='onLoad' args='item'>
Element.hide('labellistLoading');
</script>
<script type='dojo/method' event='onClick' args='item'>
var id = String(item.id);
var bare_id = id.substr(id.indexOf(':')+1);