From: Andrew Dolgov Date: Tue, 12 Jan 2010 09:17:43 +0000 (+0300) Subject: prefs: code cleanup X-Git-Tag: 1.4.0~87 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=27179741c1d91427700270effceb96bd6c1852d9;p=tt-rss.git prefs: code cleanup --- diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index df764af6..190d8905 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -1132,7 +1132,7 @@ "; print " "; print " "; print ""; print" "; diff --git a/modules/pref-users.php b/modules/pref-users.php index 7c47a3db..a19a594c 100644 --- a/modules/pref-users.php +++ b/modules/pref-users.php @@ -370,7 +370,6 @@ } print ""; print " diff --git a/prefs.js b/prefs.js index 8bacbfdd..ae176072 100644 --- a/prefs.js +++ b/prefs.js @@ -710,13 +710,6 @@ function removeSelectedFeedCats() { function feedEditCancel() { - try { - $("subscribe_to_feed_btn").disabled = false; - $("top25_feeds_btn").disabled = false; - } catch (e) { - // this button is not always available, no-op if not found - } - closeInfoBox(); selectPrefRows('feed', false); // cleanup feed selection @@ -760,7 +753,6 @@ function userEditCancel() { function filterEditCancel() { try { - $("create_filter_btn").disabled = false; selectPrefRows('filter', false); // cleanup feed selection } catch (e) { } @@ -810,8 +802,6 @@ function filterEditSave() { var query = "?" + Form.serialize("filter_edit_form"); closeInfoBox(); - - $("create_filter_btn").disabled = false; new Ajax.Request("backend.php", { parameters: query, @@ -1629,14 +1619,6 @@ function pref_hotkey_handler(e) { function editFeedCats() { try { - $("subscribe_to_feed_btn").disabled = true; - - try { - $("top25_feeds_btn").disabled = true; - } catch (e) { - // this button is not always available, no-op if not found - } - var query = "?op=pref-feeds&subop=editCats"; new Ajax.Request("backend.php", {