From 59f264ada4b56576956734692b3fac8de9ec4c74 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 4 Oct 2013 11:18:50 +0000 Subject: [PATCH] do NOT require enabled=true for (enable|disable)Class or enableId attribute to work --- phpgwapi/js/egw_action/egw_action.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/js/egw_action/egw_action.js b/phpgwapi/js/egw_action/egw_action.js index cb86f5c3e0..317449e9b7 100644 --- a/phpgwapi/js/egw_action/egw_action.js +++ b/phpgwapi/js/egw_action/egw_action.js @@ -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") {