Fix JS error in trCheck() on DB overview

This commit is contained in:
Jakub Vrana 2013-07-09 00:31:56 -07:00
parent c3b3572d83
commit ab80a40269

View file

@ -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();
}
}