From 04f428709135eada1cc17d1a4b1ad31e8503933f Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 22 Sep 2011 21:39:02 +0000 Subject: [PATCH] Declare variable before using it --- etemplate/js/et2_core_widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_core_widget.js b/etemplate/js/et2_core_widget.js index 0c71403186..997f4f94ee 100644 --- a/etemplate/js/et2_core_widget.js +++ b/etemplate/js/et2_core_widget.js @@ -785,7 +785,7 @@ var et2_widget = Class.extend({ this._template_application = this.getParent().getTemplateApp(); return this._template_application; } - app = egw.getAppName() == 'egroupware' ? 'phpgwapi' : egw.getAppName(); + var app = egw.getAppName() == 'egroupware' ? 'phpgwapi' : egw.getAppName(); //console.warn("Unable to find template application, using %s", app); return app; }