projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
398108d
)
CRM-15375 - cleaning the code
author
Samuel Vanhove
<samuel@symbiotic.coop>
Wed, 29 Apr 2015 23:17:51 +0000
(19:17 -0400)
committer
Samuel Vanhove
<samuel@symbiotic.coop>
Wed, 29 Apr 2015 23:17:51 +0000
(19:17 -0400)
CRM/Core/I18n/Form.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/I18n/Form.php
b/CRM/Core/I18n/Form.php
index db1e77f5ea22843a5e51ea2af684af116d3696ff..df679e4ecf68d028ffc252e6c3760df99df0d25c 100644
(file)
--- a/
CRM/Core/I18n/Form.php
+++ b/
CRM/Core/I18n/Form.php
@@
-83,11
+83,9
@@
class CRM_Core_I18n_Form extends CRM_Core_Form {
}
if ($widget['type'] == 'RichTextEditor') {
$attributes['class'] .= ' collapsed';
- $this->add('wysiwyg', $name, $languages[$locale], $attributes, $required);
- }
- else {
- $this->add($widget['type'], $name, $languages[$locale], $attributes, $required);
+ $widget['type'] = 'wysiwyg';
}
+ $this->add($widget['type'], $name, $languages[$locale], $attributes, $required);
$this->_defaults[$name] = $dao->$locale;
}