diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-01-23 21:05:59 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-01-23 21:05:59 -0500 |
commit | 5315e4961e3628a04d19440a3dceca9ecc2acb82 (patch) | |
tree | 2bbe1edc644ecb881dfe955b96b1da4b51aa26c3 /assets/js/components | |
parent | 10d96bfd668f445249190c52bedb2eb0e7e9410d (diff) |
Fix regression: stay on the same page when a task is closed
Diffstat (limited to 'assets/js/components')
-rw-r--r-- | assets/js/components/confirm-buttons.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/components/confirm-buttons.js b/assets/js/components/confirm-buttons.js index 81abe016..d8b1e752 100644 --- a/assets/js/components/confirm-buttons.js +++ b/assets/js/components/confirm-buttons.js @@ -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() { |