Commit 4b6ba5a1 authored by Matthias Hutterer's avatar Matthias Hutterer
Browse files

#380169 by elcuco dir=ltr for email inputs

parent e9360858
......@@ -225,7 +225,7 @@ function email_textfield_process($element, $edit, $form_state, $form) {
'#required' => $element['#required'],
'#maxlength' => 255,
'#size' => !empty($field['widget']['size']) ? $field['widget']['size'] : 60,
'#attributes' => array('class' => 'text'),
'#attributes' => array('class' => 'text', 'dir' => 'ltr'),
'#default_value' => isset($element['#value'][$field_key]) ? $element['#value'][$field_key] : NULL,
);
return $element;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment