Add `args' argument to "onrecord" callback, so that it correctly
authorMike Taylor <mike@indexdata.com>
Thu, 30 Jan 2014 12:04:56 +0000 (12:04 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 30 Jan 2014 12:04:56 +0000 (12:04 +0000)
receives the teamName parameter (not that it uses it yet, or anything)

tools/htdocs/mkws.js

index d4e8166..870fdba 100644 (file)
@@ -355,7 +355,7 @@ function _make_mkws_team($, teamName) {
     }
 
 
-    function my_onrecord(data, teamName) {
+    function my_onrecord(data, args, teamName) {
        debug("record for " + teamName);
        // FIXME: record is async!!
        clearTimeout(m_paz.recordTimer);