[KSENROLL-9616] Remove updateViewHeaderText JS workaround for context bar Created: 19/Sep/13  Updated: 25/Sep/13  Resolved: 24/Sep/13

Status: Closed
Project: KS Enrollment
Component/s: PDT - Green
Affects Version/s: M8
Fix Version/s: M8
Security Level: Public (Public: Anyone can view)

Type: Story Priority: Major
Reporter: Glenn Sudduth (Inactive) Assignee: Glenn Sudduth (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relate
relates to KSENROLL-9437 Copy CO - double header Closed
Rely
relies on KSENROLL-7481 Awaiting Rice Fix: Static Unified Pag... Closed
relies on KULRICE-9693 topGroup AND View header needs to dis... Closed
KS Theme:
Rice upgrade - Revert workaround
Story Points: 3
KS PDT Workgroup: Development
Sprint: Sprint 11 WC1

 Description   

Remove updateViewHeaderText javascript workaround for KSENROLL-7481: "Static Unified Page Header - Header does not update after initial view load".

The workaround appears in about 6 files which can be found by doing a text search in IJI for "This is a work-around".

On a related note ... David Elyea reports "... just finished KSENROLL-9437 (it's linked to 7481) and it was having some same issues with that script. I was able to remove it and get the headerText updating correctly". So, I believe it should be a simple matter of just removing the onDocumentReadyScript property from those files and testing.



 Comments   
Comment by Glenn Sudduth (Inactive) [ 24/Sep/13 ]

When I wrote this I was under the misconception that these workarounds were for the context bar, but there was also a problem getting the view header text to update when a page was refreshed was changed. It's now possible to override the view header text in the controller methods, but there are so many methods/paths on the CourseOfferingManagementController that in my opinion it is actually much cleaner to just leave the "update view header text with javascript" work-around in place because this method consolidates the logic in a single location within the KRAD markup (which is kinda where one would expect it).

Generated at Thu Oct 29 20:02:45 CDT 2020 using JIRA 7.0.11#70121-sha1:19d24976997c1d95f06f3e327e087be0b71f28d4.