Fix JS error in trCheck() on DB overview
This commit is contained in:
parent
c3b3572d83
commit
ab80a40269
|
@ -57,7 +57,7 @@ function parentTag(el, tag) {
|
|||
function trCheck(el) {
|
||||
var tr = parentTag(el, 'tr');
|
||||
tr.className = tr.className.replace(/(^|\s)checked(\s|$)/, '$2') + (el.checked ? ' checked' : '');
|
||||
if (el.form['all']) {
|
||||
if (el.form && el.form['all']) {
|
||||
el.form['all'].onclick();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue