mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 11:19:50 +02:00
Work on app-entry widgets (contact-value)
This commit is contained in:
@@ -666,7 +666,8 @@ var et2_widget = ClassWithAttributes.extend(
|
||||
}
|
||||
if(entry && entry.type)
|
||||
{
|
||||
_nodeName = attributes["type"] = entry.type;
|
||||
_nodeName = entry.type;
|
||||
_node.setAttribute("type", entry.type);
|
||||
}
|
||||
entry = null;
|
||||
}
|
||||
@@ -675,7 +676,8 @@ var et2_widget = ClassWithAttributes.extend(
|
||||
// we need to expand it now as it defines the constructor and by that attributes parsed via parseXMLAttrs!
|
||||
if (_nodeName.charAt(0) == '@' || _nodeName.indexOf('$') >= 0)
|
||||
{
|
||||
_nodeName = attributes["type"] = this.getArrayMgr('content').expandName(_nodeName);
|
||||
_nodeName = this.getArrayMgr('content').expandName(_nodeName);
|
||||
_node.setAttribute("type", _nodeName);
|
||||
}
|
||||
|
||||
// Get the constructor - if the widget is readonly, use the special "_ro"
|
||||
|
Reference in New Issue
Block a user