mirror of
https://github.com/9001/copyparty.git
synced 2026-06-20 13:12:26 -06:00
fix sel checkbox states (again)
This commit is contained in:
parent
9dc769e376
commit
0de790dd8f
|
|
@ -6118,13 +6118,12 @@ var thegrid = (function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
function gselclick(e) {
|
function gselclick(e) {
|
||||||
|
|
||||||
var oth = ebi(this.closest('a').getAttribute('ref')),
|
var oth = ebi(this.closest('a').getAttribute('ref')),
|
||||||
td = oth.closest('td').nextSibling,
|
td = oth.closest('td').nextSibling,
|
||||||
tr = td.parentNode;
|
tr = td.parentNode;
|
||||||
|
//this.checked = !this.checked;
|
||||||
td.onclick.call(td, e);
|
td.onclick.call(td, e);
|
||||||
clmod(this, 'sel', clgot(tr, 'sel'));
|
// clmod(this, 'sel', clgot(tr, 'sel'));
|
||||||
this.checked = clgot(tr, 'sel');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function gclick2(e) {
|
function gclick2(e) {
|
||||||
|
|
@ -9429,7 +9428,7 @@ var msel = (function () {
|
||||||
};
|
};
|
||||||
r.seltgl = function (e) {
|
r.seltgl = function (e) {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
ev(e)
|
|
||||||
var tr = this.parentNode,
|
var tr = this.parentNode,
|
||||||
id = tr2id(tr);
|
id = tr2id(tr);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue