function domReady ()
{
document.search.onsubmit = onFormSubmitEventHandler;
- document.search.query.value = '';
+ document.search.mkwsQuery.value = '';
document.select.sort.onchange = onSelectDdChange;
document.select.perpage.onchange = onSelectDdChange;
}
function triggerSearch ()
{
- my_paz.search(document.search.query.value, recPerPage, curSort, curFilter);
+ my_paz.search(document.search.mkwsQuery.value, recPerPage, curSort, curFilter);
}
function loadSelect ()
mkws_html_lang(mkws_config);
// For some reason, doing this programmatically results in
- // document.search.query being undefined, hence the raw HTML.
+ // document.search.mkwsQuery being undefined, hence the raw HTML.
debug("HTML search form");
$("#mkwsSearch").html('\
<form name="search" action="" >\
- <input id="query" type="text" size="' + mkws_config.query_width + '" />\
+ <input id="mkwsQuery" type="text" size="' + mkws_config.query_width + '" />\
<input id="mkwsButton" type="submit" value="' + M('Search') + '" />\
</form>');
<div id="mkwsTermlists"></div>\
</td>\
<td valign="top">\
- <div id="ranking">\
+ <div id="mkwsRanking">\
<form name="select" id="select" action="" >\
' + M('Sort by') + ' ' + mkws_html_sort(config) + '\
' + M('and show') + ' ' + mkws_html_perpage(config) + '\