From 125b5199375935501ffebebae471dc50a9416cc5 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 30 Jan 2014 10:06:43 -0800 Subject: [PATCH] Fix All checkbox in Opera (bug #374) --- adminer/static/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } }