From: Mike Taylor Date: Thu, 27 Feb 2014 16:05:37 +0000 (+0000) Subject: Use `this' instead of temporary. X-Git-Tag: 1.0.0~1387 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=b37b485f27da9717619c8847ce3f30294a67b12e;p=mkws-moved-to-github.git Use `this' instead of temporary. --- 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); });