From: Mike Taylor Date: Fri, 28 Feb 2014 11:04:01 +0000 (+0000) Subject: handle_node_with_team() sets `this' to the node in the callback. X-Git-Tag: 1.0.0~1384^2~7 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=002b2d9d1882478137e992e73b695be88ecdc438 handle_node_with_team() sets `this' to the node in the callback. --- diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 2df7c12..ca77487 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -1252,7 +1252,7 @@ function team($, teamName) { type = cname.replace(/^mkws/, ''); } } - callback.call(this, teamName, type); + callback.call(node, teamName, type); }