]> git.joonet.de Git - adminer.git/commitdiff
Fix All checkbox in Opera (bug #374)
authorJakub Vrana <jakub@vrana.cz>
Thu, 30 Jan 2014 18:06:43 +0000 (10:06 -0800)
committerJakub Vrana <jakub@vrana.cz>
Thu, 30 Jan 2014 18:06:43 +0000 (10:06 -0800)
adminer/static/functions.js

index 0d33e81b4e5f417b6a909f8a076ecd7970044f59..3a8431e67be4d328b60e1e943569fb0c3959ff95 100644 (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();
        }
 }