Browse Source

Fix grunt issue.

nwp90-nwp90-allsessionsreport
Dan Marsden 5 years ago
parent
commit
cd702e9577
  1. 2
      yui/build/moodle-mod_attendance-groupfilter/moodle-mod_attendance-groupfilter-min.js

2
yui/build/moodle-mod_attendance-groupfilter/moodle-mod_attendance-groupfilter-min.js

@ -1 +1 @@
YUI.add("moodle-mod_attendance-groupfilter",function(e,t){M.mod_attendance=M.mod_attendance||{},M.mod_attendance.groupfilter={groupmappings:null,init:function(t){"use strict";this.groupmappings=t.groupmappings,e.one("#id_group").after("change",this.update_user_list,this)},update_user_list:function(){"use strict";var t,n,r,i,s;t=e.one("#id_group").get("value"),r=this.groupmappings[t],n=e.one("#id_users"),n.get("options").remove();if(r!==undefined)for(i in r)r.hasOwnProperty(i)&&(s=e.Node.create("<option></option>"),s.set("value",i),s.set("text",r[i]),n.appendChild(s))}}},"@VERSION@",{requires:["base","node"]});
YUI.add("moodle-mod_attendance-groupfilter",function(a,e){M.mod_attendance=M.mod_attendance||{},M.mod_attendance.groupfilter={groupmappings:null,init:function(e){"use strict";this.groupmappings=e.groupmappings,a.one("#id_group").after("change",this.update_user_list,this)},update_user_list:function(){"use strict";var e,t,n,o,i;if(e=a.one("#id_group").get("value"),n=this.groupmappings[e],(t=a.one("#id_users")).get("options").remove(),n!==undefined)for(o in n)n.hasOwnProperty(o)&&((i=a.Node.create("<option></option>")).set("value",o),i.set("text",n[o]),t.appendChild(i))}}},"@VERSION@",{requires:["base","node"]});
Loading…
Cancel
Save