From: Mike Taylor Date: Mon, 28 Apr 2014 16:48:15 +0000 (+0100) Subject: Remove Search and SearchForm code, now down in the widgets. X-Git-Tag: 1.0.0~819 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=e8fa844d1d8795fcf1b9d4b7ec60e53e7f470f13 Remove Search and SearchForm code, now down in the widgets. --- diff --git a/src/mkws-team.js b/src/mkws-team.js index d0ebcc5..8f4235e 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -356,13 +356,6 @@ function team($, teamName) { if (m_config.show_lang) mkwsHtmlLang(); - log("HTML search form"); - findnode('.mkwsSearch').html('\ -
\ - \ - \ -
'); - log("HTML records"); // If the team has a .mkwsResults, populate it in the usual // way. If not, assume that it's a smarter application that @@ -412,12 +405,6 @@ function team($, teamName) { ranking_data += ''; findnode(".mkwsRanking").html(ranking_data); - findnode('.mkwsSearchForm').submit(function() { - var val = widgetNode('Query').val(); - newSearch(val); - return false; - }); - // on first page, hide the termlist $(document).ready(function() { var t = widgetNode("Termlists");