Fix so namespaces work even without content data

This commit is contained in:
Nathan Gray
2013-02-05 12:55:01 +00:00
parent a204c7fb4b
commit bbfcb19ab8
4 changed files with 7 additions and 6 deletions

View File

@ -817,7 +817,7 @@ var et2_widget = Class.extend({
// Check whether the manager has a namespace for the id of this object
var entry = mgr.getEntry(this.id);
if (typeof entry === 'object' && entry !== null)
if (typeof entry === 'object' && entry !== null||this.id )
{
// The content manager has an own node for this object, so
// create an own perspective.