From e8fa844d1d8795fcf1b9d4b7ec60e53e7f470f13 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Mon, 28 Apr 2014 17:48:15 +0100 Subject: [PATCH] Remove Search and SearchForm code, now down in the widgets. --- src/mkws-team.js | 13 ------------- 1 file changed, 13 deletions(-) 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"); -- 1.7.10.4