[BUGFIX] RTE: Button not disabled when in text mode 75/35575/2
authorStanislas Rolland <typo3@sjbr.ca>
Thu, 18 Dec 2014 20:55:37 +0000 (15:55 -0500)
committerStanislas Rolland <typo3@sjbr.ca>
Thu, 18 Dec 2014 20:57:49 +0000 (21:57 +0100)
Releases: master
Resolves: #63983
Change-Id: Idffdd3facd8e7cf9c0f4de9f7f2df7d344ba2b94
Reviewed-on: http://review.typo3.org/35575
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
typo3/sysext/rtehtmlarea/Resources/Public/Css/Skin/htmlarea.css
typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Toolbar/Button.js
typo3/sysext/t3skin/rtehtmlarea/htmlarea.css

index 979ffc7..236f081 100644 (file)
        width: 24px;
 }
 .htmlarea .toolbar .buttonDisabled {
-       filter: alpha(opacity=25);
-       opacity: 0.25;
+       cursor: default;
+       filter: gray() alpha(opacity=25);
        -moz-opacity: 0.25;
+       opacity: 0.25;
 }
 .htmlarea .toolbar .separator {
        background-color: rgb(115, 115, 115);
index 55670fb..7a4796a 100644 (file)
@@ -223,6 +223,7 @@ define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Toolbar/Button',
                 */
                disabledClass: 'buttonDisabled',
                setDisabled: function(disabled){
+                       this.disabled = disabled;
                        this.buttonElement.disabled = disabled;
                        if (disabled) {
                                Dom.addClass(this.el, this.disabledClass);
index cfb9697..81b7264 100644 (file)
        width: 24px;
 }
 .htmlarea .toolbar .buttonDisabled {
+       cursor: default;
        filter: gray() alpha(opacity=25);
+       -moz-opacity: 0.25;
        opacity: 0.25;
 }
 .htmlarea .toolbar .separator {