projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Part of MKWS-322. Rename mkws-widget-termlists.js to mkws-widget-facets.js
[mkws-moved-to-github.git]
/
src
/
mkws-widget-record.js
diff --git
a/src/mkws-widget-record.js
b/src/mkws-widget-record.js
index
044d574
..
ad62425
100644
(file)
--- a/
src/mkws-widget-record.js
+++ b/
src/mkws-widget-record.js
@@
-11,13
+11,13
@@
mkws.registerWidgetType('record', function() {
that.autosearch();
});
that.autosearch();
});
-mkws.registerWidgetType('image', function() {
+mkws.registerWidgetType('images', function() {
mkws.promotionFunction('records').call(this);
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.registerWidgetType('google-image', function() {
- mkws.promotionFunction('image').call(this);
+ mkws.promotionFunction('images').call(this);
if (!this.config.target) this.config.target = 'Google_Images';
});
if (!this.config.target) this.config.target = 'Google_Images';
});
@@
-27,6
+27,6
@@
mkws.registerWidgetType('lolcat', function() {
});
mkws.registerWidgetType('cover-art', function() {
});
mkws.registerWidgetType('cover-art', function() {
- mkws.promotionFunction('image').call(this);
+ mkws.promotionFunction('images').call(this);
if (!this.config.target) this.config.target = 'AmazonBooks';
});
if (!this.config.target) this.config.target = 'AmazonBooks';
});