From 58e54282d36d54c2be0e50f78fbc500772a3b762 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 2 Dec 2018 15:30:07 +0300 Subject: [PATCH] prefs: move more global functions into matching classes --- classes/pref/feeds.php | 4 +- classes/pref/prefs.php | 14 +- classes/pref/system.php | 4 +- js/PrefFeedTree.js | 75 +++++++- js/prefs.js | 387 ++++++++++++++-------------------------- 5 files changed, 217 insertions(+), 267 deletions(-) diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php index f34ed33eb..a39090767 100755 --- a/classes/pref/feeds.php +++ b/classes/pref/feeds.php @@ -1156,7 +1156,7 @@ class Pref_Feeds extends Handler_Protected { $inactive_button = ""; $feed_search = clean($_REQUEST["search"]); @@ -1249,7 +1249,7 @@ class Pref_Feeds extends Handler_Protected { if (id.match('FEED:')) { CommonDialogs.editFeed(bare_id); } else if (id.match('CAT:')) { - editCat(bare_id, item); + dijit.byId('feedTree').editCategory(bare_id, item); }