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
last resort if BSD::Resource is not available in ./bomb.pl, part of MKWS-157
[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
ba3fce2
..
ad62425
100644
(file)
--- a/
src/mkws-widget-record.js
+++ b/
src/mkws-widget-record.js
@@
-1,4
+1,4
@@
-// 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;
mkws.registerWidgetType('record', function() {
if (!this.config.maxrecs) this.config.maxrecs = 1;
var that = this;
@@
-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';
});