mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 12:51:52 +02: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)
|
if(entry && entry.type)
|
||||||
{
|
{
|
||||||
_nodeName = entry.type;
|
_nodeName = attributes["type"] = entry.type;
|
||||||
_node.setAttribute("type", entry.type);
|
|
||||||
}
|
}
|
||||||
entry = null;
|
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!
|
// 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)
|
if (_nodeName.charAt(0) == '@' || _nodeName.indexOf('$') >= 0)
|
||||||
{
|
{
|
||||||
_nodeName = this.getArrayMgr('content').expandName(_nodeName);
|
_nodeName = attributes["type"] = this.getArrayMgr('content').expandName(_nodeName);
|
||||||
_node.setAttribute("type", _nodeName);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get the constructor - if the widget is readonly, use the special "_ro"
|
// Get the constructor - if the widget is readonly, use the special "_ro"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user