From c2e3f1eba95c86efdc429c16b94e87b0687241dd Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Fri, 21 Oct 2016 07:41:52 -0400 Subject: Show error messages in dialog box to move tasks --- assets/js/components/submit-cancel.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'assets/js/components/submit-cancel.js') diff --git a/assets/js/components/submit-cancel.js b/assets/js/components/submit-cancel.js index 1950c060..061b1146 100644 --- a/assets/js/components/submit-cancel.js +++ b/assets/js/components/submit-cancel.js @@ -26,5 +26,10 @@ Vue.component('submit-cancel', { onCancel: function () { _KB.get('Popover').close(); } + }, + events: { + 'submitCancelled': function() { + this.loading = false; + } } }); -- cgit v1.2.3