Merge pull request #15510 from civicrm/5.19
[civicrm-core.git] / CRM / Core / I18n / Form.php
index 8433616cdd74f4aec5db20c17826dbf1bc5ca2c3..dd7aa9bd31dccdc8147002b54a9d8cca10e28df5 100644 (file)
@@ -33,6 +33,7 @@
  *
  */
 class CRM_Core_I18n_Form extends CRM_Core_Form {
+
   public function buildQuickForm() {
     $config = CRM_Core_Config::singleton();
     $tsLocale = CRM_Core_I18n::getLocale();
@@ -77,7 +78,10 @@ class CRM_Core_I18n_Form extends CRM_Core_Form {
 
     if ($widget['type'] == 'RichTextEditor') {
       $widget['type'] = 'wysiwyg';
-      $attributes['class'] .= ' collapsed';
+      $attributes['class'] = 'collapsed';
+    }
+    elseif ($widget['type'] == 'Text') {
+      $attributes['class'] = 'huge';
     }
 
     $languages = CRM_Core_I18n::languages(TRUE);