From 438c4f5dafd27f9c1927e63b27c7c545f6031d3b Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sat, 15 Nov 2014 22:23:12 -0500 Subject: [PATCH] CRM-15603 - Standardize spacing of 'Rich Text Editor' --- CRM/Custom/Form/Field.php | 2 +- tests/phpunit/WebTest/Profile/BatchUpdateTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Custom/Form/Field.php b/CRM/Custom/Form/Field.php index d01d6f51ed..aba9fa9a00 100644 --- a/CRM/Custom/Form/Field.php +++ b/CRM/Custom/Form/Field.php @@ -150,7 +150,7 @@ class CRM_Custom_Form_Field extends CRM_Core_Form { array('Text' => ts('Text'), 'Select' => ts('Select'), 'Radio' => ts('Radio'), ), - array('TextArea' => ts('TextArea'), 'RichTextEditor' => ts('RichTextEditor')), + array('TextArea' => ts('TextArea'), 'RichTextEditor' => ts('Rich Text Editor')), array('Date' => ts('Select Date')), array('Radio' => ts('Radio')), array('StateProvince' => ts('Select State/Province'), 'Multi-Select' => ts('Multi-Select State/Province')), diff --git a/tests/phpunit/WebTest/Profile/BatchUpdateTest.php b/tests/phpunit/WebTest/Profile/BatchUpdateTest.php index c2838f9f83..846da53458 100644 --- a/tests/phpunit/WebTest/Profile/BatchUpdateTest.php +++ b/tests/phpunit/WebTest/Profile/BatchUpdateTest.php @@ -722,7 +722,7 @@ class WebTest_Profile_BatchUpdateTest extends CiviSeleniumTestCase { $this->type('label', $richTextField); $this->click('data_type[0]'); $this->select('data_type[0]', "label=Note"); - $this->select('data_type[1]', "label=RichTextEditor"); + $this->select('data_type[1]', "value=RichTextEditor"); //clicking save $this->clickLink('_qf_Field_next_new-top', '_qf_Field_done-bottom', FALSE); -- 2.25.1