From 1e6fcec665fbb8e9cf4d92586336b7acbea378ce Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 24 Oct 2013 17:01:58 +0000 Subject: [PATCH] Fix missing typeof operator --- phpgwapi/js/egw_action/egw_action_popup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/js/egw_action/egw_action_popup.js b/phpgwapi/js/egw_action/egw_action_popup.js index 427cff3d57..fdce0e208a 100644 --- a/phpgwapi/js/egw_action/egw_action_popup.js +++ b/phpgwapi/js/egw_action/egw_action_popup.js @@ -76,8 +76,8 @@ function egwPopupAction(_id, _handler, _caption, _icon, _onExecute, _allowOnMult "alt": false } - if (typeof _value == "object" && _value.keyCode != "undefined" && - _value.caption != "undefined") + if (typeof _value == "object" && typeof _value.keyCode != "undefined" && + typeof _value.caption != "undefined") { sc.keyCode = _value.keyCode; sc.caption = _value.caption;