X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=tools%2Fhtdocs%2Fmkws.js;h=624521585f39d3fa5c6adf89a5f6b53900dfaf44;hb=60a397929857c23ce4d319825dffd2e2bd150e25;hp=ecba8dabf5efea4895b3655e624e59819165e8c5;hpb=6c2be612315d7afb929dbd1d38df7fd6de625600;p=mkws-moved-to-github.git diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index ecba8da..6245215 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -863,11 +863,16 @@ function _make_mkws_team($, teamName) { // For some reason, doing this programmatically results in // document.mkwsSearchForm.mkwsQuery being undefined, hence the raw HTML. debug("HTML search form"); - $("#mkwsSearch").html('\ -
\ - \ - \ + $('.mkwsSearch').each(function (i, obj) { + var node = this; + mkws.handle_node_with_team(node, function(tname) { + $(node).html('\ +\ + \ + \
'); + }); + }); debug("HTML records"); // If the application has an #mkwsResults, populate it in the