diff --git a/management/templates/index.html b/management/templates/index.html index 78e2365f..ec1fd01e 100644 --- a/management/templates/index.html +++ b/management/templates/index.html @@ -98,7 +98,7 @@
  • SSL Certificates
  • Backup Status
  • - +
  • Custom DNS
  • External DNS
  • Munin Monitoring
  • @@ -210,8 +210,8 @@ $(function() { $('#global_modal').on('shown.bs.modal', function (e) { // set focus to first input in the global modal's body var input = $('#global_modal .modal-body input'); - if (input.length > 0) $(input[0]).focus(); - }) + if (input.length > 0) $(input[0]).focus(); + }) $('#global_modal .btn-danger').click(function() { // Don't take action now. Wait for the modal to be totally hidden // so that we don't attempt to show another modal while this one @@ -226,7 +226,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) { @@ -289,7 +289,7 @@ function ajax(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);