diff --git a/public/js/icinga/loader.js b/public/js/icinga/loader.js index 963a0b968..c186f9655 100644 --- a/public/js/icinga/loader.js +++ b/public/js/icinga/loader.js @@ -277,6 +277,10 @@ if (target === 'ignore') { return; } + // If we change the target, oncomplete will fail to clean up + // This fixes the problem, not using req.$target would be better + delete this.requests[req.$target.attr('id')]; + req.$target = $('#' + target); newBody = true; }