The Reference Universe widget now specifies to use the correct target.
authorMike Taylor <mike@indexdata.com>
Fri, 9 Jan 2015 16:01:09 +0000 (16:01 +0000)
committerMike Taylor <mike@indexdata.com>
Fri, 9 Jan 2015 16:01:09 +0000 (16:01 +0000)
(Unfortunately that target presently only exists in the special magic
realm, but we're working on that.)

examples/htdocs/mkws-widget-ru.js

index afe0347..b616b33 100644 (file)
@@ -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', '\