From: Mike Taylor Date: Tue, 20 May 2014 16:22:26 +0000 (+0100) Subject: Place the encyclodaedia and image widgets in different teams. X-Git-Tag: 1.0.0~631 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=13b29fcfe3c38ab073a0f56fc30930d81f7798dc;p=mkws-moved-to-github.git Place the encyclodaedia and image widgets in different teams. --- diff --git a/examples/htdocs/mkws-widget-credo.js b/examples/htdocs/mkws-widget-credo.js index 5f689e2..46e9d29 100644 --- a/examples/htdocs/mkws-widget-credo.js +++ b/examples/htdocs/mkws-widget-credo.js @@ -14,9 +14,9 @@ mkws.registerWidgetType('Credo', function() { s.push(''); 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(''); s.push('');