From 348129dfbe5d6423a7290b19a5bbc76935260fe4 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 12 Apr 2010 08:55:17 +0000 Subject: [PATCH] BUGFIX: Ensure .js variable defined with var keyword (from r96678) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102471 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- javascript/Upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/Upload.js b/javascript/Upload.js index 5fef950f..3b6baae4 100644 --- a/javascript/Upload.js +++ b/javascript/Upload.js @@ -5,7 +5,7 @@ */ -Upload = Class.create(); +var Upload = Class.create(); Upload.prototype = { /**