mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 08:06:59 +02:00
Fix JS error in trCheck() on DB overview
This commit is contained in:
@@ -57,7 +57,7 @@ function parentTag(el, tag) {
|
|||||||
function trCheck(el) {
|
function trCheck(el) {
|
||||||
var tr = parentTag(el, 'tr');
|
var tr = parentTag(el, 'tr');
|
||||||
tr.className = tr.className.replace(/(^|\s)checked(\s|$)/, '$2') + (el.checked ? ' checked' : '');
|
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();
|
el.form['all'].onclick();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user