change body field height systematicaly
This commit is contained in:
parent
a64d6e34d8
commit
332c17c25c
@ -144,11 +144,13 @@ function materio_admin_form_simplenews_node_form_alter(&$form, &$form_state, $fo
|
||||
|
||||
// change default template regarding type of news
|
||||
$form['body']['und'][0]['#default_value'] = materio_admin_getSimplenewsNodeBodyTemplate($cat);
|
||||
$form['body']['und'][0]['#rows'] = 50;
|
||||
}
|
||||
}else{
|
||||
$form['field_simplenews_term']['und']['#disabled'] = true;
|
||||
}
|
||||
|
||||
$form['body']['und'][0]['#rows'] = 50;
|
||||
|
||||
}
|
||||
|
||||
function materio_admin_getSimplenewsNodeBodyTemplate($cat){
|
||||
|
Loading…
x
Reference in New Issue
Block a user