Declare variable before using it

This commit is contained in:
Nathan Gray 2011-09-22 21:39:02 +00:00
parent 860d37912b
commit 04f4287091

View File

@ -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;
}