1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-21 21:55:43 +02:00

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