Fix missing typeof operator

This commit is contained in:
Nathan Gray 2013-10-24 17:01:58 +00:00
parent db01cfa907
commit 1e6fcec665

View File

@ -76,8 +76,8 @@ function egwPopupAction(_id, _handler, _caption, _icon, _onExecute, _allowOnMult
"alt": false "alt": false
} }
if (typeof _value == "object" && _value.keyCode != "undefined" && if (typeof _value == "object" && typeof _value.keyCode != "undefined" &&
_value.caption != "undefined") typeof _value.caption != "undefined")
{ {
sc.keyCode = _value.keyCode; sc.keyCode = _value.keyCode;
sc.caption = _value.caption; sc.caption = _value.caption;