pref dialog fixes
This commit is contained in:
parent
525ea55e48
commit
57f734c895
|
@ -20,6 +20,7 @@
|
|||
|
||||
<table>
|
||||
<tr><td class='n'>c s</td><td><?php echo __("Subscribe to feed") ?></td></tr>
|
||||
<tr><td class='n'>c c</td><td><?php echo __("Edit feed categories") ?></td></tr>
|
||||
<tr><td class='n'>c f</td><td><?php echo __("Create filter") ?></td></tr>
|
||||
<tr><td class='n'>c l</td><td><?php echo __("Create label") ?></td></tr>
|
||||
<!-- <tr><td class='n'>c u</td><td><?php echo __("Create user") ?></td></tr> -->
|
||||
|
|
19
prefs.js
19
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;
|
||||
try {
|
||||
document.getElementById("create_filter_btn").disabled = false;
|
||||
selectPrefRows('filter', false); // cleanup feed selection
|
||||
} catch (e) { }
|
||||
|
||||
selectPrefRows('filter', false); // cleanup feed selection
|
||||
closeInfoBox();
|
||||
|
||||
return false;
|
||||
|
@ -1766,6 +1769,10 @@ function pref_hotkey_handler(e) {
|
|||
// no-op
|
||||
}
|
||||
|
||||
if (keycode == 67) { // c
|
||||
return editFeedCats();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Prefix g */
|
||||
|
|
Loading…
Reference in New Issue