forked from extern/egroupware
do NOT require enabled=true for (enable|disable)Class or enableId attribute to work
This commit is contained in:
parent
4c6a249d40
commit
59f264ada4
@ -368,7 +368,7 @@ egwAction.prototype.updateActions = function(_actions, _app)
|
||||
}
|
||||
|
||||
// set certain enabled functions (if enabled is on it's default of true)
|
||||
if (elem.enabled === true)
|
||||
if (typeof elem.enabled == 'undefined' || elem.enabled === true)
|
||||
{
|
||||
if (typeof elem.enableClass != "undefined")
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user