X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=examples%2Fhtdocs%2Fmkws-widget-credo.js;h=d0cbfe2815d65ada853ae17643c356ba5681c0a6;hb=33ace780f38dcd06a5d32dab0b54dc66e19da05d;hp=d6ba4e7802a873f972c5ce685ab4aa4b730e4ccc;hpb=0d29b3dc90ffb83ce2f8ee265f288bdb409af45c;p=mkws-moved-to-github.git
diff --git a/examples/htdocs/mkws-widget-credo.js b/examples/htdocs/mkws-widget-credo.js
index d6ba4e7..d0cbfe2 100644
--- a/examples/htdocs/mkws-widget-credo.js
+++ b/examples/htdocs/mkws-widget-credo.js
@@ -9,7 +9,7 @@ mkws.registerWidgetType('Credo', function() {
this.team.registerTemplate('CredoImage', '\
\
-
\
+ \
{{#mkws-first md-thumburl}}\
\
{{/mkws-first}}\
@@ -37,13 +37,13 @@ mkws.registerWidgetType('Credo', function() {
s.push(section('mindmap', 'Create a Mind Map for ### title',
'### Is there a way to make a mind-map?'));
s.push(section('topics', 'Related Topics',
- 1 || this.subwidget('Facet', { facet: 'subject' })));
+ this.subwidget('Facet', { _team: 'main', facet: 'subject' })));
s.push('');
s.push('');
s.push(sectionRow('entries', 'Credo Entries',
- 1 || this.subwidget('Records', { /* ### config */ })));
+ this.subwidget('Records', { _team: 'main' })));
s.push(sectionRow('articles', 'Articles',
1 || this.subwidget('Records', { /* ### config */ })));
s.push(sectionRow('books', 'Books',