More use of widgetNode.
authorMike Taylor <mike@indexdata.com>
Wed, 16 Apr 2014 10:37:49 +0000 (11:37 +0100)
committerMike Taylor <mike@indexdata.com>
Wed, 16 Apr 2014 10:37:49 +0000 (11:37 +0100)
src/mkws-team.js

index 2f0d384..7c95c86 100644 (file)
@@ -452,7 +452,7 @@ function team($, teamName) {
        mkwsHtmlSwitch();
 
        findnode('.mkwsSearchForm').submit(function() {
-           var val = findnode('.mkwsQuery').val();
+           var val = widgetNode('Query').val();
            newSearch(val);
            return false;
        });