projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3236c38
)
Place the encyclodaedia and image widgets in different teams.
author
Mike Taylor
<mike@indexdata.com>
Tue, 20 May 2014 16:22:26 +0000
(17:22 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 20 May 2014 16:22:26 +0000
(17:22 +0100)
examples/htdocs/mkws-widget-credo.js
patch
|
blob
|
history
diff --git
a/examples/htdocs/mkws-widget-credo.js
b/examples/htdocs/mkws-widget-credo.js
index
5f689e2
..
46e9d29
100644
(file)
--- a/
examples/htdocs/mkws-widget-credo.js
+++ b/
examples/htdocs/mkws-widget-credo.js
@@
-14,9
+14,9
@@
mkws.registerWidgetType('Credo', function() {
s.push('<td class="main">');
s.push(section('encyclopaedia', 'Topic Page: ### title',
- this.subwidget('Reference')));
+ this.subwidget('Reference', { _team: 'ref' })));
s.push(section('image', 'Images',
- this.subwidget('GoogleImage', { maxrecs: 4 })));
+ this.subwidget('GoogleImage', { _team: 'img', maxrecs: 4 })));
s.push('</td>');
s.push('<td class="side">');