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

« back to all changes in this revision

Viewing changes to www/media/common/tos.js

  • Committer: me at id
  • Date: 2009-01-15 01:29:07 UTC
  • mto: This revision was merged to the branch mainline in revision 1090.
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:branches%2Fstorm:1147
ivle.makeuser: Don't create a local.auth. It wasn't used anywhere, and seems
    to have only been there for historical reasons.
setup.configure: Remove svn_auth_local from the config.py boilerplate; it was
    used solely by ivle.makeuser.

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
    tos_acceptbuttons.appendChild(dom_make_text_elem("p",
100
100
        "Error connecting to server. Please try again later. "));
101
101
    }
102
 
    else if (response.response == 'error')
103
 
    {
104
 
    tos_acceptbuttons.appendChild(dom_make_text_elem("p",
105
 
        "Error activating user: " + response.message));
106
 
    }
107
102
    else
108
103
    {
109
104
        /* Refresh the page; as the user is now (apparently) logged in */
110
 
        window.location.href = parse_url(window.location.href).args["url"] || "/";
 
105
        window.location.href = window.location.href;
111
106
    }
112
107
}
113
108
 
114
109
function decline_license()
115
110
{
116
111
    /* Redirect to the logout page */
117
 
    window.location.href = app_path("+logout");
 
112
    window.location.href = app_path("logout");
118
113
}