From: Jakub Vrana Date: Thu, 30 Jan 2014 18:06:43 +0000 (-0800) Subject: Fix All checkbox in Opera (bug #374) X-Git-Tag: v4.0.3~2 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=125b5199375935501ffebebae471dc50a9416cc5;p=adminer.git Fix All checkbox in Opera (bug #374) --- diff --git a/adminer/static/functions.js b/adminer/static/functions.js index 0d33e81b..3a8431e6 100644 --- a/adminer/static/functions.js +++ b/adminer/static/functions.js @@ -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(); } }