1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 03:35:57 +00:00

move some label helper functions to prefLabelTree

This commit is contained in:
Andrew Dolgov
2018-12-02 11:34:57 +03:00
parent e23b6e397d
commit 2e985d1733
3 changed files with 56 additions and 57 deletions

View File

@@ -278,10 +278,10 @@ class Pref_Labels extends Handler_Protected {
print"<button dojoType=\"dijit.form.Button\" onclick=\"return addLabel()\">".
__('Create label')."</button dojoType=\"dijit.form.Button\"> ";
print "<button dojoType=\"dijit.form.Button\" onclick=\"removeSelectedLabels()\">".
print "<button dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('labelTree').removeSelected()\">".
__('Remove')."</button dojoType=\"dijit.form.Button\"> ";
print "<button dojoType=\"dijit.form.Button\" onclick=\"labelColorReset()\">".
print "<button dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('labelTree').resetColors()\">".
__('Clear colors')."</button dojoType=\"dijit.form.Button\">";