X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fhtdocs%2Fmkws-widget-ru.js;h=2ba8a0d85ca284ef1077faf9d9d256266736b3dc;hb=d0f616908983b6ac139f952053c0a29ed8b97654;hp=e38d9572d448ac8c7c69e72bf73a22217480e00f;hpb=3aa819ed8eaa4b37333a105c8e266c1e8e1ff2bb;p=mkws-moved-to-github.git diff --git a/examples/htdocs/mkws-widget-ru.js b/examples/htdocs/mkws-widget-ru.js index e38d957..2ba8a0d 100644 --- a/examples/htdocs/mkws-widget-ru.js +++ b/examples/htdocs/mkws-widget-ru.js @@ -1,11 +1,36 @@ +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() { - //this.team.config.service_proxy_auth = "http://mkws.indexdata.com/service-proxy/?command=auth&action=login&username=paratext&password=paratext_mkc"; - // this.team.config.perpage_default = 5; - // this.team.config.sort_default = "position"; - var teamClass = 'mkwsTeam_' + this.team.name(); - var html = "