~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/tos/media/tos.js

  • Committer: Matt Giuca
  • Date: 2009-12-01 04:27:58 UTC
  • mfrom: (1164.2.46 sphinx-docs)
  • Revision ID: matt.giuca@gmail.com-20091201042758-wuxd9bdec00c283i
Merged sphinx-docs branch. This adds Sphinx documentation for the entire IVLE system (for system administrators and developers), and removes all of our random old document files (all either irrelevant, or moved into the Sphinx docs nicely). Currently incomplete, but ready to merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
    else
103
103
    {
104
104
        /* Refresh the page; as the user is now (apparently) logged in */
105
 
        window.location.href = window.location.href;
 
105
        window.location.href = parse_url(window.location.href).args["url"] || "/";
106
106
    }
107
107
}
108
108
 
109
109
function decline_license()
110
110
{
111
111
    /* Redirect to the logout page */
112
 
    window.location.href = app_path("logout");
 
112
    window.location.href = app_path("+logout");
113
113
}