Fix regression: stay on the same page when a task is closed

This commit is contained in:
Frederic Guillot
2017-01-23 21:05:59 -05:00
parent 10d96bfd66
commit 5315e4961e
5 changed files with 13 additions and 9 deletions

View File

@@ -4,7 +4,7 @@ KB.component('confirm-buttons', function (containerElement, options) {
function onSubmit() {
isLoading = true;
KB.find('#modal-confirm-button').replace(buildButton());
window.location.href = options.url;
KB.http.get(options.url);
}
function onCancel() {