mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:05:56 +00:00
overall directory tree cleanup
This commit is contained in:
29
js/deprecated.js
Normal file
29
js/deprecated.js
Normal file
@@ -0,0 +1,29 @@
|
||||
function selectTableRow(r, do_select) {
|
||||
|
||||
if (do_select) {
|
||||
r.addClassName("Selected");
|
||||
} else {
|
||||
r.removeClassName("Selected");
|
||||
}
|
||||
}
|
||||
|
||||
function selectTableRowById(elem_id, check_id, do_select) {
|
||||
|
||||
try {
|
||||
|
||||
var row = $(elem_id);
|
||||
|
||||
if (row) {
|
||||
selectTableRow(row, do_select);
|
||||
}
|
||||
|
||||
var check = $(check_id);
|
||||
|
||||
if (check) {
|
||||
check.checked = do_select;
|
||||
}
|
||||
} catch (e) {
|
||||
exception_error("selectTableRowById", e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user