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

« back to all changes in this revision

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

  • Committer: David Coles
  • Date: 2009-12-02 01:50:16 UTC
  • Revision ID: coles.david@gmail.com-20091202015016-zt7ql34rw0d9k12j
All window.prompts now have a default text (fixes appearing as "undefined" in 
IE)

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
/* Creates a group */
26
26
function create_new_group(projectsetid)
27
27
{
28
 
    groupnm = window.prompt('Please enter a name for the group');
 
28
    groupnm = window.prompt('Please enter a name for the group','');
29
29
    args = {'projectsetid': projectsetid, 'groupnm':groupnm, 'nick': groupnm};
30
30
    response = ajax_call(null, serviceapp, 'create_group', args, 'POST');
31
31
    if (response.status == 200)