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