~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-05-12 13:50:49 UTC
  • mto: This revision was merged to the branch mainline in revision 1247.
  • Revision ID: matt.giuca@gmail.com-20090512135049-mlg7kqdpcqmdgphe
ivle.database: User/ProjectGroup: Added 'short_name' methods so we have a
        general interface for displaying the short name.
    ProjectGroup: Changed display_name from showing the name (short name) to
        the nick (friendly name).
    Added docstrings.

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 */