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

« back to all changes in this revision

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

  • Committer: David Coles
  • Date: 2010-07-29 10:51:30 UTC
  • Revision ID: coles.david@gmail.com-20100729105130-el3ut0zwisvgvthu
Fix issue with CodeMirror being wider than the screen and scrolling.

Seems like width: 100% + padding/margin causes the actual width to be more 
than 100%. Though if the CodeMirror element just auto-calculate the width it's 
fine. Also fixed similar issue with the <textbox>.

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
    }
102
107
    else
103
108
    {
104
109
        /* Refresh the page; as the user is now (apparently) logged in */