Fixed bug #13671: htmlArea RTE: Invalid reference to font size/style options in WebKi...
authorStanislas Rolland <typo3@sjbr.ca>
Fri, 26 Feb 2010 02:40:56 +0000 (02:40 +0000)
committerStanislas Rolland <typo3@sjbr.ca>
Fri, 26 Feb 2010 02:40:56 +0000 (02:40 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7040 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/rtehtmlarea/ChangeLog
typo3/sysext/rtehtmlarea/htmlarea/plugins/SelectFont/select-font.js

index e5c3934..64c154e 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
        * Fixed bug #13651: htmlArea RTE: Table insertion is broken in IE8
        * Added feature #13667: htmlArea RTE: Make toolbar dropdown size configurable in Page TSConfig
        * Cleanup #13668: htmlArea RTE: Cleanup some unused code (acronym, color, font)
+       * Fixed bug #13671: htmlArea RTE: Invalid reference to font options in WebKit browsers
 
 2010-02-24  Ernesto Baschny  <ernst@cron-it.de>
 
index 4b3c816..eea8c58 100644 (file)
@@ -3,6 +3,7 @@
        * Fixed bug #13651: htmlArea RTE: Table insertion is broken in IE8
        * Added feature #13667: htmlArea RTE: Make toolbar dropdown size configurable in Page TSConfig
        * Cleanup #13668: htmlArea RTE: Cleanup some unused code (acronym, color, font)
+       * Fixed bug #13671: htmlArea RTE: Invalid reference to font options in WebKit browsers
 
 2010-02-22  Stanislas Rolland  <typo3@sjbr.ca>
 
index 151045e..15e6833 100644 (file)
@@ -84,6 +84,7 @@ SelectFont = HTMLArea.Plugin.extend({
                Ext.each(this.dropDownList, function (dropDown) {
                        var buttonId = dropDown[0];
                                // Load the options var
+                       var options = [];
                        if (this.buttonsConfiguration[dropDown[2]] && this.buttonsConfiguration[dropDown[2]].dataUrl) {
                                var optionsData = this.getJavascriptFile(this.buttonsConfiguration[dropDown[2]].dataUrl, "noEval");
                                if (optionsData) {