handle_node_with_team() sets `this' to the node in the callback.
authorMike Taylor <mike@indexdata.com>
Fri, 28 Feb 2014 11:04:01 +0000 (11:04 +0000)
committerMike Taylor <mike@indexdata.com>
Fri, 28 Feb 2014 11:04:01 +0000 (11:04 +0000)
tools/htdocs/mkws.js

index 2df7c12..ca77487 100644 (file)
@@ -1252,7 +1252,7 @@ function team($, teamName) {
                type = cname.replace(/^mkws/, '');
            }
        }
-       callback.call(this, teamName, type);
+       callback.call(node, teamName, type);
     }