From: Mike Taylor Date: Fri, 9 Jan 2015 16:01:09 +0000 (+0000) Subject: The Reference Universe widget now specifies to use the correct target. X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=2bc3efcb19167c0ea34070c8392229f2aa46986e;p=mkws-moved-to-github.git The Reference Universe widget now specifies to use the correct target. (Unfortunately that target presently only exists in the special magic realm, but we're working on that.) --- diff --git a/examples/htdocs/mkws-widget-ru.js b/examples/htdocs/mkws-widget-ru.js index afe0347..b616b33 100644 --- a/examples/htdocs/mkws-widget-ru.js +++ b/examples/htdocs/mkws-widget-ru.js @@ -1,4 +1,5 @@ mkws.registerWidgetType('reference-universe', function() { + if (!this.config.target) this.config.target = 'paratext_ruprime'; if (!this.config.perpage) this.config.perpage = 5; if (!this.config.sort) this.config.sort = "position"; this.team.registerTemplate('reference-universe', '\