From 559eb432f01182876d64e91d970e7616279295b3 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 6 Apr 2016 22:16:46 +0000 Subject: [PATCH] Get home working again --- api/js/etemplate/etemplate2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/etemplate2.js b/api/js/etemplate/etemplate2.js index 8b1ea549ef..78e9f44b48 100644 --- a/api/js/etemplate/etemplate2.js +++ b/api/js/etemplate/etemplate2.js @@ -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;