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';
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | Issue-2031055-by-hass-Theme-cannot-add-classes-via-p.patch | 1.07 KB | hass |
Comments
Comment #1
hass commentedPatch attached.
Comment #2
hass commentedv3.19 was the start version
Comment #3
quicksketchThanks, I'll put this in next time I'm committing patches.
Comment #4
hass commented#2033885: Redirection location inline textfield should not be wrapped in normal form wrappers fixed this issue for 4.x, this case is a 3.x only.
Comment #5
quicksketchThanks, pushed to 7.x-3.x.