mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:15:56 +00:00
remove RCHK
This commit is contained in:
16
js/tt-rss.js
16
js/tt-rss.js
@@ -452,11 +452,17 @@ function init() {
|
||||
hotkey_actions["select_article_cursor"] = function() {
|
||||
var id = getArticleUnderPointer();
|
||||
if (id) {
|
||||
var cb = dijit.byId("RCHK-" + id);
|
||||
if (cb) {
|
||||
cb.attr("checked", !cb.attr("checked"));
|
||||
toggleSelectRowById(cb, "RROW-" + id);
|
||||
return false;
|
||||
var row = $("RROW-" + id);
|
||||
|
||||
if (row) {
|
||||
var cb = dijit.getEnclosingWidget(
|
||||
row.getElementsByClassName("rchk")[0]);
|
||||
|
||||
if (cb) {
|
||||
cb.attr("checked", !cb.attr("checked"));
|
||||
toggleSelectRowById(cb, "RROW-" + id);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user