diff --git a/amd/src/jmodule.js b/amd/src/jmodule.js index de11e81ebb1a054223cb54ed7e4d8a715dee7f5c..06e381c927ff9322a178dcad705ce62bbc5059b7 100644 --- a/amd/src/jmodule.js +++ b/amd/src/jmodule.js @@ -121,7 +121,7 @@ define(['jquery'], function ($) { search(searchstring, reloadList, displaymode, instanceid, sesskey, contextid, idsearching, orderbysemester, wwwroot); } else { // Search start after 3 chars or searching by id. - $('#' + parentId).children().remove(); + $('#hshcourselistul').children().remove(); } } });