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

« back to all changes in this revision

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

  • Committer: mattgiuca
  • Date: 2008-02-25 23:05:08 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:590
console: Added disabling of the input box when waiting for a response from the
    server.
    Waits 100ms before greying out the box.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
        "IVLE is now setting up your environment. Please wait..."));
74
74
    tos_acceptbuttons.appendChild(make_dots_anim());
75
75
    /* Make the Ajax request */
76
 
    var xhr = ajax_call("userservice", "activate_me", USER_DECLARATION,
77
 
        "POST")
78
 
    handle_accept_response(xhr)
 
76
    ajax_call(handle_accept_response, "userservice", "activate_me",
 
77
        USER_DECLARATION, "POST")
79
78
}
80
79
 
81
80
function handle_accept_response(xhr)