~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-25 04:29:35 UTC
  • Revision ID: grantw@unimelb.edu.au-20090325042935-zu6xr6b4q1buj0y3
Replace all non-external addEventListeners with equivalent jQuery calls.
Hopefully this will unbreak IE a bit.

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);