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:
c8d7a38
)
domReady() only makes each search-form once :-)
author
Mike Taylor
<mike@indexdata.com>
Thu, 30 Jan 2014 16:24:41 +0000
(16:24 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 30 Jan 2014 16:24:41 +0000
(16:24 +0000)
tools/htdocs/mkws.js
patch
|
blob
|
history
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
646f580
..
6c014f8
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-405,9
+405,11
@@
function team($, teamName) {
// wait until the DOM is ready
function domReady ()
{
- $('.mkwsSearchForm').each(function (i, obj) {
+ $('.mkwsSearchForm.mkwsTeam_' + m_teamName).each(function (i, obj) {
+ debug("adding search-forms for team '" + m_teamName + "'");
var node = this;
mkws.handle_node_with_team(node, function(tname) {
+ debug("adding search-form '" + tname + "' for team '" + m_teamName + "'");
$(node).submit(onFormSubmitEventHandler);
});
});