diff --git a/api/js/etemplate/et2_core_widget.ts b/api/js/etemplate/et2_core_widget.ts index 251efac8a5..669105ab27 100644 --- a/api/js/etemplate/et2_core_widget.ts +++ b/api/js/etemplate/et2_core_widget.ts @@ -463,7 +463,7 @@ Comment this out (for now) * @param _type is an optional parameter which specifies a class/interface * the elements have to be instanceOf. */ - iterateOver(_callback, _context, _type) + iterateOver(_callback, _context, _type?) { if (typeof _type == "undefined") { _type = et2_widget;