mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
using $readonlys["__ALL__"] with explicit $readonlys[$name] = false was NOT working for extensions
This commit is contained in:
parent
94ff3e1966
commit
dba03454fb
@ -318,7 +318,7 @@ class etemplate extends boetemplate
|
||||
<script language="javascript">
|
||||
egw_LAB.wait(function(){
|
||||
$j().ready(function() {
|
||||
popup_resize();
|
||||
window.setTimeout(popup_resize, 150);
|
||||
});
|
||||
});
|
||||
</script>'."\n";
|
||||
@ -1135,7 +1135,7 @@ class etemplate extends boetemplate
|
||||
}
|
||||
if (!$ext_type) $ext_type = $type;
|
||||
// if readonlys[__ALL__] is set, also set readonlys[$name] (extensions can mark themselfs as 'noReadonlysALL', eg. tab-widget!)
|
||||
if ($readonlys['__ALL__'] && !$this->haveExtension($type,'noReadonlysALL'))
|
||||
if ($readonlys['__ALL__'] && $readonlys[$name] !== false && !$this->haveExtension($type,'noReadonlysALL'))
|
||||
{
|
||||
$readonlys[$name] = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user