summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt1
-rw-r--r--views_export/views_export.module4
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 503780b..4a68d62 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -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.
diff --git a/views_export/views_export.module b/views_export/views_export.module
index b4a9265..0e3effc 100644
--- a/views_export/views_export.module
+++ b/views_export/views_export.module
@@ -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'),