diff --git a/emhttp/plugins/dynamix/scripts/feedback b/emhttp/plugins/dynamix/scripts/feedback index a3bfc8626..7717d7cb2 100755 --- a/emhttp/plugins/dynamix/scripts/feedback +++ b/emhttp/plugins/dynamix/scripts/feedback @@ -192,13 +192,13 @@ function form_submit(url, params, tab, diagnostics) { var success_message = '

!

'+data.message+'

'; $('#reply_panel').html(success_message).fadeIn('fast'); } - }).fail(function(jqXHR, textStatus, errorThrown) { + }).fail(function(jqXHR, textStatus, errorThrown){ if (jqXHR.responseJSON && jqXHR.responseJSON.error) { errorThrown = jqXHR.responseJSON.error; } var failure_message = "

. .

"; $('#reply_panel').html(failure_message).fadeIn('fast'); - }).always(function() { + }).always(function(){ $('#spinner_image').fadeOut('fast'); panel.fadeOut('fast').find('textarea').prop('disabled',false); });