mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Partially revert r48812, seems it didn't help entry widgets but it did cause problems with preferences
This commit is contained in:
parent
3af8b4806b
commit
e674c5aa5b
@ -666,8 +666,7 @@ var et2_widget = ClassWithAttributes.extend(
|
||||
}
|
||||
if(entry && entry.type)
|
||||
{
|
||||
_nodeName = entry.type;
|
||||
_node.setAttribute("type", entry.type);
|
||||
_nodeName = attributes["type"] = entry.type;
|
||||
}
|
||||
entry = null;
|
||||
}
|
||||
@ -676,8 +675,7 @@ 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 = this.getArrayMgr('content').expandName(_nodeName);
|
||||
_node.setAttribute("type", _nodeName);
|
||||
_nodeName = attributes["type"] = this.getArrayMgr('content').expandName(_nodeName);
|
||||
}
|
||||
|
||||
// Get the constructor - if the widget is readonly, use the special "_ro"
|
||||
|
Loading…
Reference in New Issue
Block a user