-
Type: Bug Report
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.3.0-B1
-
Component/s: CMS
-
Labels:None
-
Change Log Group:Added
-
Change Log Message:Allow opening item editing page scrolled right to desired field (only for CMS pages).
-
Story Points:2
-
Copy Issue Key:
-
Patch Instructions:
Related commits: rPLS18676
Plan
- enhance "OnEdit" event (in kDBEventHandler class) to pass through "edit_field" parameter, when present
- in the end of "/incs/footer.tpl" template add JS code, that will:
- check if "edit_field" parameter is present in request (if not, then do nothing)
- scroll form to the position of given field (if found on page) via "m:OnAfterFormInit" event hook, when either "popup window" or "modal window" window mode is enabled
- scroll form to the position of given field (if found on page) right now, when "same window" window mode is enabled
- test that scrolling works in either of window modes