* Fixed bug #7716: htmlArea RTE plugins using some undeclared variables
authorStanislas Rolland <typo3@sjbr.ca>
Sat, 1 Mar 2008 03:42:40 +0000 (03:42 +0000)
committerStanislas Rolland <typo3@sjbr.ca>
Sat, 1 Mar 2008 03:42:40 +0000 (03:42 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3329 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/rtehtmlarea/ChangeLog
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultFont/default-font.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultInline/default-inline.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/Language/language.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Color/typo3color.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/TableOperations/table-operations.js

index 5b9aa07..5d83e9c 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2008-02-29  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed bug #4121: Pasting content on RTE moves cursor to the top of the text
+       * Fixed bug #7716: htmlArea RTE plugins using some undeclared variables
 
 2008-02-29  Michael Stucki  <michael@typo3.org>
 
index 753035d..273f835 100644 (file)
@@ -1,6 +1,7 @@
 2008-02-29  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed bug #4121: Pasting content on RTE moves cursor to the top of the text
+       * Fixed bug #7716: htmlArea RTE plugins using some undeclared variables
        
 2008-02-28  Stanislas Rolland  <stanislas.rolland@fructifor.ca>
 
index 7667ba2..fd6e93c 100644 (file)
@@ -62,6 +62,7 @@ DefaultFont = HTMLArea.Plugin.extend({
                /*
                 * Registering the dropdowns
                 */
+               var buttonId;
                for (var i = 0, n = this.dropDownList.length; i < n; ++i) {
                        var dropDown = this.dropDownList[i];
                        buttonId = dropDown[0];
index fe4c74c..484020c 100644 (file)
@@ -57,7 +57,7 @@ DefaultInline = HTMLArea.Plugin.extend({
                /*
                 * Registering the buttons
                 */
-               var buttonList = DefaultInline.buttonList;
+               var buttonList = DefaultInline.buttonList, buttonId;
                var n = buttonList.length;
                for (var i = 0; i < n; ++i) {
                        var button = buttonList[i];
index 7052f22..c603e82 100644 (file)
@@ -57,7 +57,7 @@ Language = HTMLArea.Plugin.extend({
                /*
                 * Registering the buttons
                 */
-               var buttonList = this.buttonList;
+               var buttonList = this.buttonList, buttonId;
                for (var i = 0, n = buttonList.length; i < n; ++i) {
                        var button = buttonList[i];
                        buttonId = button[0];
index 46dfcf0..b1d748c 100644 (file)
@@ -61,7 +61,7 @@ TYPO3Color = HTMLArea.Plugin.extend({
                /*
                 * Registering the buttons
                 */
-               var buttonList = this.buttonList;
+               var buttonList = this.buttonList, buttonId;
                for (var i = 0; i < buttonList.length; ++i) {
                        var button = buttonList[i];
                        buttonId = button[0];
index 5c22e5f..2329e7f 100644 (file)
@@ -61,7 +61,7 @@ TYPO3Link = HTMLArea.Plugin.extend({
                /*
                 * Registering the buttons
                 */
-               var buttonList = this.buttonList;
+               var buttonList = this.buttonList, buttonId;
                for (var i = 0; i < buttonList.length; ++i) {
                        var button = buttonList[i];
                        buttonId = button[0];
index 526dc3a..cd7d47b 100644 (file)
@@ -88,7 +88,7 @@ TableOperations = HTMLArea.Plugin.extend({
                 * Registering the buttons
                 */
                var hideToggleBorders = this.editorConfiguration.hideTableOperationsInToolbar && !(this.buttonsConfiguration.toggleborders && this.buttonsConfiguration.toggleborders.keepInToolbar);
-               var buttonList = this.buttonList;
+               var buttonList = this.buttonList, buttonId;
                for (var i = 0, n = buttonList.length; i < n; ++i) {
                        var button = buttonList[i];
                        buttonId = (button[0] === "InsertTable") ? button[0] : ("TO-" + button[0]);