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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2009-03-26 05:33:03 UTC
  • mto: (1165.3.1 submissions)
  • mto: This revision was merged to the branch mainline in revision 1174.
  • Revision ID: grantw@unimelb.edu.au-20090326053303-t1wsjswhk2sl2gml
Start a submission UI in ivle.webapp.submit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
        var button = document.createElement("input");
91
91
        button.value = "Add";
92
92
        button.type = 'button';
93
 
        button.addEventListener("click", function()
 
93
        $(button).click(function()
94
94
        {
95
95
            this.disabled = true;
96
96
            args = {'login': select.value, 'groupid': groupid};
97
97
            ajax_call(null, serviceapp, 'assign_group', args, 'POST');
98
98
            list_projectgroup_contents(offeringid, groupid, elemnm);
99
 
        }, false);
 
99
        });
100
100
        add_li.appendChild(select);
101
101
        add_li.appendChild(button);
102
102
        ul.appendChild(add_li);