From f21eab5843dc81ed6a6e0e2e735062f4d20b31ec Mon Sep 17 00:00:00 2001 From: Norman Stanke Date: Sat, 6 Jun 2015 15:18:20 +0200 Subject: [PATCH] fix typo --- management/templates/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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);