Merge branch 'master' into templateallthemarkup
[mkws-moved-to-github.git] / examples / htdocs / mkws-widget-ru.js
index 5185d05..2ba8a0d 100644 (file)
@@ -1,4 +1,6 @@
-var mkws_config = {service_proxy_auth: "http://mkws.indexdata.com/service-proxy/?command=auth&action=login&username=paratext&password=paratext_mkc"};
+var mkws_config = {
+   service_proxy_auth: "http://sp-mkws.indexdata.com/service-proxy/?command=auth&action=login&username=paratext&password=paratext_mkc"
+};
 
 mkws.registerWidgetType('ReferenceUniverse', function() {
   if (!this.config.perpage) this.config.perpage = 5;
@@ -29,5 +31,6 @@ mkws.registerWidgetType('ReferenceUniverse', function() {
   this.team.queue("records").subscribe(function(data) {
     that.node.html(template(data));
   }); 
-  widget.autosearch(that);
+  that.autosearch();
 });
+