From 451aa6c536a87386edfd66d858d54b0f7e365a43 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Mon, 21 Dec 2009 00:52:12 +0000 Subject: [PATCH] MINOR Set url variable in TreeAPI.reload as local variable in LeftAndMain_left.js git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@95971 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- javascript/LeftAndMain_left.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/LeftAndMain_left.js b/javascript/LeftAndMain_left.js index 5de22717..8a7a1445 100755 --- a/javascript/LeftAndMain_left.js +++ b/javascript/LeftAndMain_left.js @@ -52,7 +52,7 @@ TreeAPI.prototype = { var args = {ajax:1, ID:0}; if ($('LangSelector')) args.locale = $('LangSelector').value; - url = this.url(args); + var url = this.url(args); var self = this; new Ajax.Request(url, {