From 26cc51ab767a0075a0dbf644e3cd925c11bad89d Mon Sep 17 00:00:00 2001 From: Daniel Blankenberg Date: Tue, 7 Jun 2011 10:46:52 -0400 Subject: [PATCH] Fix for Select All / Unselect All functionality when more than one set of checkboxes is present on a page. --- templates/tool_form.mako | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/tool_form.mako b/templates/tool_form.mako index 3f9a5fbe6b3..c23f6559fa0 100644 --- a/templates/tool_form.mako +++ b/templates/tool_form.mako @@ -51,7 +51,7 @@ $(function() { }); function checkUncheckAll( name, check ) { - $("input[name=" + name + "][type='checkbox']").attr('checked', !!check); + $("input[name='" + name + "'][type='checkbox']").attr('checked', !!check); } // Inserts the Select All / Unselect All buttons for checkboxes