Bug #23185 » rtehtmlarea_bugfix_15121_trunk.patch
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js (copie de travail) | ||
---|---|---|
if (this.pageTSConfiguration && this.pageTSConfiguration.additionalAttributes) {
|
||
var additionalAttributes = this.pageTSConfiguration.additionalAttributes.split(",");
|
||
for (var i = additionalAttributes.length; --i >= 0;) {
|
||
if (node.hasAttribute(additionalAttributes[i])) {
|
||
// hasAttribute() not available in IE < 8
|
||
if ((node.hasAttribute && node.hasAttribute(additionalAttributes[i])) || node.getAttribute(additionalAttributes[i]) != null) {
|
||
additionalParameter += "&curUrl[" + additionalAttributes[i] + "]=" + encodeURIComponent(node.getAttribute(additionalAttributes[i]));
|
||
}
|
||
}
|