Skip to content
Snippets Groups Projects
Commit bec914e6 authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[TASK] Add missing patch

parent 9ea058a4
No related branches found
No related tags found
No related merge requests found
......@@ -439,6 +439,7 @@ class BrowseLinks extends ElementBrowser {
}
';
// General "jumpToUrl" and launchView functions:
$paramsAsParts = explode('|', $this->bparams);
$JScode .= '
function jumpToUrl(URL,anchor) {
if (URL.charAt(0) === \'?\') {
......@@ -448,6 +449,7 @@ class BrowseLinks extends ElementBrowser {
var add_contentTypo3Language = URL.indexOf("contentTypo3Language=")==-1 ? "&contentTypo3Language=' . $this->contentTypo3Language . '" : "";
var add_act = URL.indexOf("act=")==-1 ? "&act=' . $this->act . '" : "";
var add_mode = URL.indexOf("mode=")==-1 ? "&mode=' . $this->mode . '" : "";
var add_rtetsconfigparams = URL.indexOf("RTEtsConfigParams=")==-1 ? "&RTEtsConfigParams=' . $paramsAsParts[2] . '" : "";
var add_additionalValues = "";
if (plugin.pageTSConfiguration && plugin.pageTSConfiguration.additionalAttributes) {
var additionalAttributes = plugin.pageTSConfiguration.additionalAttributes.split(",");
......@@ -457,7 +459,7 @@ class BrowseLinks extends ElementBrowser {
}
}
}
var theLocation = URL+add_act+add_editorNo+add_contentTypo3Language+add_mode+add_href+add_target+add_class+add_title+add_additionalValues+add_params+(anchor?anchor:"");
var theLocation = URL+add_act+add_editorNo+add_contentTypo3Language+add_mode+add_rtetsconfigparams+add_href+add_target+add_class+add_title+add_additionalValues+add_params+(anchor?anchor:"");
window.location.href = theLocation;
return false;
}
......@@ -1099,4 +1101,4 @@ class BrowseLinks extends ElementBrowser {
return $label;
}
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment