Removing a class on a link in the link dialogue works in Firefox and IE7 but not in IE8, due to IE8's new conformance to standard name for class attribute.
Change-Id: I304520071d428be5e6fd613252be74dcaadc8b91
Resolves: #28009
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3426
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
else node.removeAttribute("target");
if (cur_class.trim()) {
node.className = cur_class.trim();
- } else {
- if (!Ext.isIE) {
+ } else {
+ if (!Ext.isOpera) {
node.removeAttribute('class');
+ if (Ext.isIE) {
+ node.removeAttribute('className');
+ }
} else {
- node.removeAttribute('className');
+ node.className = '';
}
}
if (cur_title.trim()) {