Fixed links for units loaded via ajax.
LMS-2711
Merge pull request #3755 from edx/waheed/lms2711-staff-debug-links-fixed-for-all-units

Fixed links for units loaded via ajax.