X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=examples%2Fhtdocs%2Fmkws-widget-ru.js;h=55b4488fc65eda7351ca6ce66a9fb1784b50e6d2;hb=40ebe86a8b551faa6ec711e5a38e5a2de515ca45;hp=5185d0585183d290d6162c84050adcc37cca537d;hpb=17ac8f1707ae8b1dd20c78c7b0935822e4fc60f1;p=mkws-moved-to-github.git diff --git a/examples/htdocs/mkws-widget-ru.js b/examples/htdocs/mkws-widget-ru.js index 5185d05..55b4488 100644 --- a/examples/htdocs/mkws-widget-ru.js +++ b/examples/htdocs/mkws-widget-ru.js @@ -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://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(); }); +