MDL-33328 enrol_manual: use correct parameter in search function
[moodle.git] / enrol / manual / yui / quickenrolment / quickenrolment.js
index 4bc8350..f3de1bf 100644 (file)
@@ -261,7 +261,7 @@ YUI.add('moodle-enrol_manual-quickenrolment', function(Y) {
             });
         },
         preSearch : function(e) {
-            this.search(null, false);
+            this.search(e, false);
             /*
             var value = this.get(UEP.SEARCH).get('value');
             if (value.length < 3 || value == this.get(UEP.LASTSEARCH)) {