diff --git a/public/js/icinga/utils.js b/public/js/icinga/utils.js index 6d5c02c6d..33b7965f0 100644 --- a/public/js/icinga/utils.js +++ b/public/js/icinga/utils.js @@ -171,8 +171,8 @@ key = encodeURIComponent(key); for (var i = 0; i < newparams.length; i++) { - if (typeof newparams[i].key === key) { - delete newparams[i]; + if (newparams[i].key === key) { + newparams.splice(i, 1); return; } }