Fix All checkbox in Opera (bug #374)

This commit is contained in:
Jakub Vrana 2014-01-30 10:06:43 -08:00
parent d5a2afeef7
commit 125b519937

View file

@ -95,7 +95,7 @@ function parentTag(el, tag) {
function trCheck(el) {
var tr = parentTag(el, 'tr');
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();
}
}