pref dialog fixes
This commit is contained in:
parent
525ea55e48
commit
57f734c895
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr><td class='n'>c s</td><td><?php echo __("Subscribe to feed") ?></td></tr>
|
<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 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 l</td><td><?php echo __("Create label") ?></td></tr>
|
||||||
<!-- <tr><td class='n'>c u</td><td><?php echo __("Create user") ?></td></tr> -->
|
<!-- <tr><td class='n'>c u</td><td><?php echo __("Create user") ?></td></tr> -->
|
||||||
|
|
21
prefs.js
21
prefs.js
|
@ -787,9 +787,8 @@ function feedEditCancel() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementById("subscribe_to_feed_btn").disabled = false;
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
document.getElementById("subscribe_to_feed_btn").disabled = false;
|
||||||
document.getElementById("top25_feeds_btn").disabled = false;
|
document.getElementById("top25_feeds_btn").disabled = false;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// this button is not always available, no-op if not found
|
// this button is not always available, no-op if not found
|
||||||
|
@ -876,11 +875,13 @@ function labelEditCancel() {
|
||||||
return
|
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;
|
active_label = false;
|
||||||
|
|
||||||
selectPrefRows('label', false); // cleanup feed selection
|
|
||||||
closeInfoBox();
|
closeInfoBox();
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
@ -906,9 +907,11 @@ function filterEditCancel() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementById("create_filter_btn").disabled = false;
|
try {
|
||||||
|
document.getElementById("create_filter_btn").disabled = false;
|
||||||
selectPrefRows('filter', false); // cleanup feed selection
|
selectPrefRows('filter', false); // cleanup feed selection
|
||||||
|
} catch (e) { }
|
||||||
|
|
||||||
closeInfoBox();
|
closeInfoBox();
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
@ -1766,6 +1769,10 @@ function pref_hotkey_handler(e) {
|
||||||
// no-op
|
// no-op
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (keycode == 67) { // c
|
||||||
|
return editFeedCats();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Prefix g */
|
/* Prefix g */
|
||||||
|
|
Loading…
Reference in New Issue