diff --git a/etemplate/js/et2_core_widget.js b/etemplate/js/et2_core_widget.js index ceea17051d..0245b59876 100644 --- a/etemplate/js/et2_core_widget.js +++ b/etemplate/js/et2_core_widget.js @@ -816,7 +816,8 @@ var et2_widget = Class.extend({ } // Check whether the manager has a namespace for the id of this object - if (typeof mgr.getEntry(this.id) === 'object') + var entry = mgr.getEntry(this.id); + if (typeof entry === 'object' && entry !== null) { // The content manager has an own node for this object, so // create an own perspective.