Details
-
Sub-bug
-
Status: Closed
-
Major
-
Resolution: Done
-
Release 6.0.0
-
None
-
None
-
R6.0.0 Sprint 2, R6.0.0 Sprint 11
-
Description
Sometimes, when validating the current page we get an undefined.
AJS.$(window).load(function () { var pageSelected = AJS.$(".aui-nav-selected > a").attr('data-link-id'); switch (pageSelected) { case backlogPage: case activeSprintPage: case kanbanPage: handleAgileClick(); break; case releasesPage: if (AJS.XP.settings.get('ENABLE_XPORTER_FOR_AGILE').value == "false") { return; } handleReleaseClick(); //Release detail page if (AJS.$('#release-report').length > 0) { fireXporterforAgileReleaseDetail(); } break; default: break; } });
The variable pageSelected is undefined if the sidebar is not loaded when the event triggers.