mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 14:54:24 +02:00
Fix logout button "sometimes not working" and similar
This commit is contained in:
parent
d729d9381d
commit
959967c646
@ -277,6 +277,10 @@
|
|||||||
if (target === 'ignore') {
|
if (target === 'ignore') {
|
||||||
return;
|
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);
|
req.$target = $('#' + target);
|
||||||
newBody = true;
|
newBody = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user