* Fixed bug #7468: htmlArea RTE QuickTag plugin refusing to open dialogue in IE
authorStanislas Rolland <typo3@sjbr.ca>
Sat, 9 Feb 2008 01:43:57 +0000 (01:43 +0000)
committerStanislas Rolland <typo3@sjbr.ca>
Sat, 9 Feb 2008 01:43:57 +0000 (01:43 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3142 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/rtehtmlarea/ChangeLog
typo3/sysext/rtehtmlarea/htmlarea/plugins/QuickTag/quick-tag.js

index aeff815..816004c 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@
 2008-02-08  Stanislas Rolland  <stanislas.rolland@fructifor.ca>
 
        * Fixed bug #7450 (revisited): further corrections to localization of htmlArea RTE
+       * Fixed bug #7468: htmlArea RTE QuickTag plugin refusing to open dialogue in IE
 
 2008-02-08  Ingo Renner  <ingo@typo3.org>
 
index 601b9d1..0091c0f 100644 (file)
@@ -1,6 +1,7 @@
 2008-02-08  Stanislas Rolland  <stanislas.rolland@fructifor.ca>
 
        * Fixed bug #7450 (revisited): further corrections to localization of htmlArea RTE
+       * Fixed bug #7468: htmlArea RTE QuickTag plugin refusing to open dialogue in IE
 
 2008-02-07  Stanislas Rolland  <stanislas.rolland@fructifor.ca>
 
index 19732ee..3f1f1c2 100644 (file)
@@ -88,13 +88,7 @@ QuickTag = HTMLArea.Plugin.extend({
         * @return      boolean         false if action is completed
         */
        onButtonPress : function(editor, id, target) {
-               var selection = editor.getSelectedHTML().replace(/(<[^>]*>|&nbsp;|\n|\r)/g,""); 
-               
-               if(/\w/.test(selection)) {
-                       this.dialog = this.openDialog("InsertTag", this.makeUrlFromPopupName("quicktag"), "setTag", null, {width:450, height:108});
-               } else {
-                       alert(this.localize("You have to select some text"));
-               }
+               this.dialog = this.openDialog("InsertTag", this.makeUrlFromPopupName("quicktag"), "setTag", null, {width:450, height:108});
        },
        
        /*