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:
fea54f5
)
onFormSubmitEventHandler() is now team-aware.
author
Mike Taylor
<mike@indexdata.com>
Thu, 30 Jan 2014 15:42:25 +0000
(15:42 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 30 Jan 2014 15:42:25 +0000
(15:42 +0000)
tools/htdocs/mkws.js
patch
|
blob
|
history
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
c6e5797
..
03cd18e
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-426,7
+426,11
@@
function team($, teamName) {
// when search button pressed
function onFormSubmitEventHandler()
{
// when search button pressed
function onFormSubmitEventHandler()
{
- that.newSearch(document.mkwsSearchForm.mkwsQuery.value);
+ mkws.handle_node_with_team(this, function (tname) {
+ var val = $('.mkwsQuery.mkwsTeam_' + tname).val();
+ mkws.teams[tname].newSearch(val);
+ });
+
return false;
}
return false;
}