mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
do not overwrite already evaluated readonly attribute, allows to set buttons readonly in template and make them visible via $readonlys[$id] = false
This commit is contained in:
parent
064a10c990
commit
a449b5e93b
@ -550,6 +550,10 @@ var et2_widget = (function(){ "use strict"; return ClassWithAttributes.extend(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (attrName == "readonly" && typeof _target[attrName] != "undefined")
|
||||||
|
{
|
||||||
|
// do NOT overwrite already evaluated readonly attribute
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (mgr != null && typeof _proto.attributes[attrName] != "undefined")
|
if (mgr != null && typeof _proto.attributes[attrName] != "undefined")
|
||||||
|
Loading…
Reference in New Issue
Block a user