-// A widget for one record
+// A widget for a record-list of a single record
mkws.registerWidgetType('record', function() {
if (!this.config.maxrecs) this.config.maxrecs = 1;
var that = this;
that.autosearch();
});
-mkws.registerWidgetType('image', function() {
+mkws.registerWidgetType('images', function() {
mkws.promotionFunction('records').call(this);
- if (!this.config.template) this.config.template = 'Image';
+ if (!this.config.template) this.config.template = 'images';
});
mkws.registerWidgetType('google-image', function() {
- mkws.promotionFunction('image').call(this);
+ mkws.promotionFunction('images').call(this);
if (!this.config.target) this.config.target = 'Google_Images';
});
});
mkws.registerWidgetType('cover-art', function() {
- mkws.promotionFunction('image').call(this);
+ mkws.promotionFunction('images').call(this);
if (!this.config.target) this.config.target = 'AmazonBooks';
});