From 786653ef9954674df9e27dc48fdc3fd9551b48e7 Mon Sep 17 00:00:00 2001 From: JediKev <kevin@enhancesoft.com> Date: Thu, 17 Jan 2019 13:53:21 -0600 Subject: [PATCH] issue: Hide Task Loading Overlay This addresses an issue where the Loading overlay on Tasks will not disappear after the request was submitted. This adds two lines to first hide the "Loading" modal and then toggle the overlay. --- include/staff/templates/task-view.tmpl.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/staff/templates/task-view.tmpl.php b/include/staff/templates/task-view.tmpl.php index 5b03857f0..5c5bdba44 100644 --- a/include/staff/templates/task-view.tmpl.php +++ b/include/staff/templates/task-view.tmpl.php @@ -665,7 +665,10 @@ $(function() { .slideUp(); } }) - .done(function() { }) + .done(function() { + $('#loading').hide(); + $.toggleOverlay(false); + }) .fail(function() { }); }); <?php -- GitLab