From b37b485f27da9717619c8847ce3f30294a67b12e Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 27 Feb 2014 16:05:37 +0000 Subject: [PATCH] Use `this' instead of temporary. --- tools/htdocs/mkws.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 2ac55f6..7c11d11 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -988,7 +988,7 @@ function team($, teamName) { $('.mkwsSearchForm.mkwsTeam_' + m_teamName).each(function (i, obj) { debug("adding search-forms for team '" + m_teamName + "'"); var node = this; - mkws.handle_node_with_team(node, function(tname) { + mkws.handle_node_with_team(this, function(tname) { debug("adding search-form '" + tname + "' for team '" + m_teamName + "'"); $(node).submit(onFormSubmitEventHandler); }); -- 1.7.10.4