Make sure sidebox template is loaded also

This commit is contained in:
Nathan Gray 2015-12-23 00:42:39 +00:00
parent ffad978c81
commit bb380e2c59

View File

@ -2943,7 +2943,7 @@ app.classes.calendar = AppJS.extend(
_et2_view_init: function(_et2, _name)
{
var hidden = typeof this.state.view !== 'undefined';
var all_loaded = true;
var all_loaded = this.sidebox_et2 !== null;
// Avoid home portlets using our templates, and get them right
if(_et2.uniqueId.indexOf('portlet') === 0) return;