Fix handle_node_with_team() to correctly set `this' within callback.
[mkws-moved-to-github.git] / tools / htdocs / mkws.js
index 72ca3f3..95c3b74 100644 (file)
@@ -1247,7 +1247,7 @@ function team($, teamName) {
                tname = cname.replace(/^mkwsTeam_/, '');
            }
        }
-       callback(tname);
+       callback.call(this, tname);
     }