We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8138181 + 12633e1 commit 3caa3d8Copy full SHA for 3caa3d8
uc_attribute/uc_attribute.admin.inc
@@ -1092,6 +1092,8 @@ function theme_uc_object_options_form($variables) {
1092
foreach (element_children($form['attributes']) as $key) {
1093
$rows = array();
1094
foreach (element_children($form['attributes'][$key]['options']) as $oid) {
1095
+ // Add the data attributes to the checkbox so that "check all" works.
1096
+ $form['attributes'][$key]['options'][$oid]['select']['#attributes']['data-tableselect-id'] = implode('-', $form['attributes'][$key]['options'][$oid]['select']['#parents']);
1097
$rows[] = array(
1098
'data' => array(
1099
backdrop_render($form['attributes'][$key]['options'][$oid]['select']),
0 commit comments