The new one (generate internal HTML) was overriding the old one (set
up notifications of autosearch events), so that autosearch no longer
worked on Results widgets. (We didn't notice because most autosearch
demos use Records widgets.)
});
-mkws.registerWidgetType('Results', function() {
- // Nothing to do apart from act as an autosearch trigger
- // Contained elements do all the real work
- widget.autosearch(this);
-});
-
-
mkws.registerWidgetType('Records', function() {
var that = this;
var team = this.team;
</td>\
</tr>\
</table>');
+
+ widget.autosearch(this);
});