Created
June 8, 2011 14:07
-
-
Save gergoerdosi/1014478 to your computer and use it in GitHub Desktop.
Patch to fix editor buttons
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: code/administrator/components/com_default/templates/helpers/editor.php | |
=================================================================== | |
--- code/administrator/components/com_default/templates/helpers/editor.php (revision 3453) | |
+++ code/administrator/components/com_default/templates/helpers/editor.php (working copy) | |
@@ -45,6 +45,6 @@ | |
$editor = KFactory::get('lib.joomla.editor', array($config->editor)); | |
$options = KConfig::toData($config->options); | |
- return $editor->display($config->name, $config->{$config->name}, $config->width, $config->height, $config->cols, $config->rows, $config->buttons, $options); | |
+ return $editor->display($config->name, $config->{$config->name}, $config->width, $config->height, $config->cols, $config->rows, KConfig::toData($config->buttons), $options); | |
} | |
} | |
\ No newline at end of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment