Commit 7cef3ebd authored by merlinofchaos's avatar merlinofchaos

#538530 by elcuco: Views export textareas should be LTR.

parent 4154c634
......@@ -30,6 +30,7 @@ Views 2.x-dev
o #508124 by voxpelli: Optionally allow boolean to treat NULL as FALSE.
o #487528 by dereine: Fix typo in 'Maximum length' field instructions.
o #303800 by Justin W Freeman: Improve dashes to spaces transformation.
o #538530 by elcuco: Views export textareas should be LTR.
Other changes:
o Implement a post_render hook (for themes too) and cache method.
......
......@@ -228,7 +228,7 @@ function views_export_export_form_submit(&$form, &$form_state) {
'#type' => 'textarea',
'#id' => 'export-api-textarea',
'#name' => 'export-api-textarea',
'#attributes' => array(),
'#attributes' => array( 'dir' => 'ltr' ),
'#rows' => 9,
'#cols' => 60,
'#value' => $api,
......@@ -241,7 +241,7 @@ function views_export_export_form_submit(&$form, &$form_state) {
'#type' => 'textarea',
'#id' => 'export-textarea',
'#name' => 'export-textarea',
'#attributes' => array(),
'#attributes' => array( 'dir' => 'ltr' ),
'#rows' => min($lines, 150),
'#value' => $code,
'#parents' => array('dummy'),
......
Markdown is supported
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