forked from extern/egroupware
Look for content / modifications inside the current name space as well, if the widget can create its own namespace
This commit is contained in:
parent
100c706674
commit
092493a065
@ -62,6 +62,12 @@ var et2_valueWidget = et2_baseWidget.extend(
|
||||
_attrs["value"] = val;
|
||||
}
|
||||
}
|
||||
// Check for already inside namespace
|
||||
if(this.createNamespace && this.getArrayMgr("content").perspectiveData.owner == this)
|
||||
{
|
||||
_attrs["value"] = this.getArrayMgr("content").data;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -571,6 +571,12 @@ var et2_widget = Class.extend(
|
||||
if(this.getArrayMgr("modifications"))
|
||||
{
|
||||
var data = this.getArrayMgr("modifications").getEntry(this.id);
|
||||
|
||||
// Check for already inside namespace
|
||||
if(this.createNamespace && this.getArrayMgr("modifications").perspectiveData.owner == this)
|
||||
{
|
||||
data = this.getArrayMgr("modifications").data;
|
||||
}
|
||||
if (typeof data === 'object')
|
||||
{
|
||||
for (var key in data)
|
||||
|
Loading…
Reference in New Issue
Block a user