Get home working again

This commit is contained in:
Nathan Gray 2016-04-06 22:16:46 +00:00
parent 1afa2416ff
commit 559eb432f0

View File

@ -356,7 +356,7 @@ etemplate2.prototype.load = function(_name, _url, _data, _callback, _app, _no_et
var appname = _name.split('.')[0];
// if no app object provided and template app is not currentapp (eg. infolog CRM view)
// create private app object / closure with just classes / prototypes
if (!_app && appname && appname != currentapp) app = { classes: window.app.classes };
if (!_app && appname && appname != currentapp && currentapp != 'home' && appname != 'home') app = { classes: window.app.classes };
// remember used app object, to eg. use: onchange="widget.getInstanceMgr().app_object[app].callback()"
this.app_obj = app;