Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15532 from seyfer/extract-twig-for-url
extract TWIG for url.php and fix formatting #14801
- Loading branch information
Showing
4 changed files
with
37 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
<script type="text/javascript"> | ||
if (typeof configInlineParams === "undefined" || !Array.isArray(configInlineParams)) configInlineParams = []; | ||
configInlineParams.push(function() { | ||
{{ js_array|join(';\n')|raw }}; | ||
}); | ||
if (typeof configScriptLoaded !== "undefined" && configInlineParams) loadInlineConfig(); | ||
if (typeof configInlineParams === 'undefined' || !Array.isArray(configInlineParams)) { | ||
configInlineParams = []; | ||
} | ||
configInlineParams.push(function () { | ||
{{ js_array|join(';\n')|raw }}; | ||
}); | ||
if (typeof configScriptLoaded !== 'undefined' && configInlineParams) { | ||
loadInlineConfig(); | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<script type='text/javascript'> | ||
window.onload = function () { | ||
window.location = '{{ url }}'; | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters