Set config.maxrecs only if it's not already set.
[mkws-moved-to-github.git] / src / mkws-widget-record.js
1 mkws.registerWidgetType('Record', function() {
2     mkws.promotionFunction('Records').call(this);
3     if (!this.config.maxrecs) this.config.maxrecs = 1;
4 });