Skip to content
Snippets Groups Projects
Commit 033ea3f8 authored by Benni Mack's avatar Benni Mack
Browse files

[TASK] Avoid calling inline JavaScript jump()

LiveSearch, Shortcut and OpenDocs call jump()
and thus, uses some "magic" top-level variables
to store the actual URL to go to.

This is not ideal, and the ModuleMenu should resolve
this, preserve the state of the "id" parameter,
open the content frame and (optionally) select a module
which was in use.

The global functions and variables are deprecated now:
* top.currentSubScript
* top.currentModuleLoaded
* top.nextLoadModuleUrl
* jump()

Resolves: #95011
Releases: master
Change-Id: I173fcaf3a90d753b0397e367fb99792edeedba65
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70732


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 86ccd99f
Branches
Tags
Showing
with 164 additions and 84 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment