Comment 8 for bug 1072848

Submitter: Jenkins
Branch: master

commit 6db859c849d522fe8d895f2eefd220a5498dc0fd
Author: Kieran Spear <email address hidden>
Date: Wed Mar 6 14:37:30 2013 +1100

    Don't change dashboard on admin tenant switch

    Switching projects as an admin user currently dumps you back to
    the Admin dashboard tab. This change fixes that by adding a 'next'
    parameter to the switching URL that points to the default panel
    of the current dashboard.

    The redirect is to the default panel rather than the current one,
    since the next tenant may not have access to the current panel
    and we want to avoid kicking a user back to the login screen.

    Fixes bug #1072848.

    Change-Id: I25b8c0e38945d5db57f5bfe7bb174cdbd66156d5