Closed Bug 1169646 Opened 10 years ago Closed 10 years ago

Left/Right shortcut navigation complains if issued before page load.

Categories

(Tree Management :: Treeherder, defect, P4)

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jfrench, Assigned: camd)

References

()

Details

If you issue a left/right keyboard shortcut before Treeherder has fully loaded, it complains in the console: TypeError: Cannot read property 'job_obj' of undefined I encountered this while testing n,p for https://github.com/mozilla/treeherder/pull/577 which may end up using the same selection by css classes. That being said, left/right has been in existence for months without any user complaints, and it has received heavy use. So I'm entering this as a P5.
I made a tweak to my PR for next-prev navigation that seems to fix this. Jon- If you get a chance, would you give it a spin? Thanks!! https://github.com/mozilla/treeherder/pull/577
Sure thing, coming up!
Yup, seems to be fine for me now.
Assignee: nobody → cdawson
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Verified fixed on production for both left/right and next/prev.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.