The Reference Universe widget now specifies to use the correct target.
[mkws-moved-to-github.git] / examples / htdocs / mkws-widget-ru.js
index 20762f7..b616b33 100644 (file)
@@ -1,8 +1,5 @@
-var mkws_config = {
-   service_proxy_auth: "http://sp-mkws.indexdata.com/service-proxy/?command=auth&action=login&username=paratext&password=paratext_mkc"
-};
-
 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', '\