MDL-33328 enrol_manual: use correct parameter in search function
authorBarry Oosthuizen <barry.oosthuizen@nottingham.ac.uk>
Fri, 6 Mar 2015 11:17:13 +0000 (11:17 +0000)
committerBarry Oosthuizen <barry.oosthuizen@nottingham.ac.uk>
Thu, 9 Apr 2015 17:52:14 +0000 (18:52 +0100)
Searching for user from "Enrol users" panel causes blocks to dock in IE

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) {
             });
         },
         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)) {
             /*
             var value = this.get(UEP.SEARCH).get('value');
             if (value.length < 3 || value == this.get(UEP.LASTSEARCH)) {