From: Mike Taylor Date: Wed, 26 Mar 2014 11:18:01 +0000 (+0000) Subject: Simplify creation of search-form by eliminating unnecessary X-Git-Tag: 1.0.0~1212 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;ds=sidebyside;h=16ab179356ba55d2cbb523f0d0e1fcab5a9a849a;p=mkws-moved-to-github.git Simplify creation of search-form by eliminating unnecessary mkws.handleNodeWithTeam invocation. --- diff --git a/src/mkws-team.js b/src/mkws-team.js index 41c3c44..f2db2de 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -393,13 +393,11 @@ function team($, teamName) { mkwsHtmlLang(); log("HTML search form"); - mkws.handleNodeWithTeam(findnode('.mkwsSearch'), function(tname) { - this.html('\ -
\ - \ - \ + findnode('.mkwsSearch').html('\ +\ + \ + \
'); - }); log("HTML records"); // If the team has a .mkwsResults, populate it in the usual