Bugfix for [webform.pages.inc]

/**
 * Theme the total submit limit fieldset on the webform node form.
 */
function theme_webform_advanced_total_submit_limit_form($variables) {
  $form = $variables['form'];
  //$form['total_submit_limit']['#attributes']['class'] = array('webform-set-active');
  //$form['total_submit_interval']['#attributes']['class'] = array('webform-set-active');
  $form['total_submit_limit']['#attributes']['class'][] = 'webform-set-active';
  $form['total_submit_interval']['#attributes']['class'][] = 'webform-set-active';
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hass’s picture

Status: Active » Needs review
FileSize
1.07 KB

Patch attached.

hass’s picture

Version: 7.x-3.9 » 7.x-3.x-dev

v3.19 was the start version

quicksketch’s picture

Priority: Major » Minor
Status: Needs review » Reviewed & tested by the community

Thanks, I'll put this in next time I'm committing patches.

hass’s picture

quicksketch’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, pushed to 7.x-3.x.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.