mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 08:25:57 +00:00
preselect active feed cat on edit
This commit is contained in:
14
prefs.js
14
prefs.js
@@ -31,20 +31,6 @@ function feedlist_callback() {
|
||||
var container = document.getElementById('prefContent');
|
||||
container.innerHTML=xmlhttp.responseText;
|
||||
selectTab("feedConfig", true);
|
||||
|
||||
if (active_feed_cat) {
|
||||
var row = document.getElementById("FCATR-" + active_feed_cat);
|
||||
if (row) {
|
||||
if (!row.className.match("Selected")) {
|
||||
row.className = row.className + "Selected";
|
||||
}
|
||||
}
|
||||
var checkbox = document.getElementById("FCCHK-" + active_feed_cat);
|
||||
if (checkbox) {
|
||||
checkbox.checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
notify("");
|
||||
} catch (e) {
|
||||
exception_error("feedlist_callback", e);
|
||||
|
||||
Reference in New Issue
Block a user