diff --git a/management/templates/index.html b/management/templates/index.html index 6dc4f07d..158e0d58 100644 --- a/management/templates/index.html +++ b/management/templates/index.html @@ -218,7 +218,7 @@ $(function() { if (global_modal_state == null) global_modal_state = 1; // cancel if the user hit ESC or clicked outside of the modal if (global_modal_funcs && global_modal_funcs[global_modal_state]) global_modal_funcs[global_modal_state](); - }) + }) }) function show_modal_error(title, message, callback) { @@ -281,7 +281,7 @@ function ajax_with_indicator(options) { }; options.error = function(jqxhr) { hide_loading_indicator(); - if (!old_error) + if (!old_error) show_modal_error("Error", "Something went wrong, sorry.") else old_error(jqxhr.responseText, jqxhr);