Fix All checkbox in Opera (bug #374)
This commit is contained in:
parent
d5a2afeef7
commit
125b519937
|
@ -95,7 +95,7 @@ function parentTag(el, tag) {
|
||||||
function trCheck(el) {
|
function trCheck(el) {
|
||||||
var tr = parentTag(el, 'tr');
|
var tr = parentTag(el, 'tr');
|
||||||
alterClass(tr, 'checked', el.checked);
|
alterClass(tr, 'checked', el.checked);
|
||||||
if (el.form && el.form['all']) {
|
if (el.form && el.form['all'] && el.form['all'].onclick) { // Opera thinks that 'all' is who knows what
|
||||||
el.form['all'].onclick();
|
el.form['all'].onclick();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue