projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0195c12
)
Remove Search and SearchForm code, now down in the widgets.
author
Mike Taylor
<mike@indexdata.com>
Mon, 28 Apr 2014 16:48:15 +0000
(17:48 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Mon, 28 Apr 2014 16:48:15 +0000
(17:48 +0100)
src/mkws-team.js
patch
|
blob
|
history
diff --git
a/src/mkws-team.js
b/src/mkws-team.js
index
d0ebcc5
..
8f4235e
100644
(file)
--- a/
src/mkws-team.js
+++ b/
src/mkws-team.js
@@
-356,13
+356,6
@@
function team($, teamName) {
if (m_config.show_lang)
mkwsHtmlLang();
if (m_config.show_lang)
mkwsHtmlLang();
- log("HTML search form");
- findnode('.mkwsSearch').html('\
-<form name="mkwsSearchForm" class="mkwsSearchForm mkwsTeam_' + m_teamName + '" action="" >\
- <input class="mkwsQuery mkwsTeam_' + m_teamName + '" type="text" size="' + m_config.query_width + '" />\
- <input class="mkwsButton mkwsTeam_' + m_teamName + '" type="submit" value="' + M('Search') + '" />\
-</form>');
-
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
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 += '</form>';
findnode(".mkwsRanking").html(ranking_data);
ranking_data += '</form>';
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");
// on first page, hide the termlist
$(document).ready(function() {
var t = widgetNode("Termlists");