Bugfix for [webform.pages.inc]
/**
* Theme the redirection setting on the webform node form.
*/
function theme_webform_advanced_redirection_form($variables) {
$form = $variables['form'];
// Add special class for setting the active radio button.
//$form['redirect_url']['#attributes']['class'] = array('webform-set-active');
$form['redirect_url']['#attributes']['class'][] = 'webform-set-active';
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | Issue-2031057-by-hass-Theme-cannot-add-classes-via-p.patch | 879 bytes | hass |
Comments
Comment #1
hass commentedPatch attached
Comment #2
hass commentedv3.19 was the start version
Comment #3
quicksketchThanks @hass. I'll put this in next chance I get.
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.