From 57f734c895afa449edcb6d36ebfd1516700556b5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 16 May 2008 08:53:49 +0100 Subject: [PATCH] pref dialog fixes --- help/4.php | 1 + prefs.js | 21 ++++++++++++++------- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/help/4.php b/help/4.php index 35f4baf1..0631ef17 100644 --- a/help/4.php +++ b/help/4.php @@ -20,6 +20,7 @@ + diff --git a/prefs.js b/prefs.js index 6dcf412a..8c0b8412 100644 --- a/prefs.js +++ b/prefs.js @@ -787,9 +787,8 @@ function feedEditCancel() { return } - document.getElementById("subscribe_to_feed_btn").disabled = false; - try { + document.getElementById("subscribe_to_feed_btn").disabled = false; document.getElementById("top25_feeds_btn").disabled = false; } catch (e) { // this button is not always available, no-op if not found @@ -876,11 +875,13 @@ function labelEditCancel() { return } - document.getElementById("label_create_btn").disabled = false; + try { + document.getElementById("label_create_btn").disabled = false; + selectPrefRows('label', false); // cleanup feed selection + } catch (e) { } active_label = false; - selectPrefRows('label', false); // cleanup feed selection closeInfoBox(); return false; @@ -906,9 +907,11 @@ function filterEditCancel() { return } - document.getElementById("create_filter_btn").disabled = false; - - selectPrefRows('filter', false); // cleanup feed selection + try { + document.getElementById("create_filter_btn").disabled = false; + selectPrefRows('filter', false); // cleanup feed selection + } catch (e) { } + closeInfoBox(); return false; @@ -1766,6 +1769,10 @@ function pref_hotkey_handler(e) { // no-op } + if (keycode == 67) { // c + return editFeedCats(); + } + } /* Prefix g */ -- 2.39.5
c s
c c
c f
c l