diff --git a/.gitignore b/.gitignore index 0ce14757..3fc60194 100644 --- a/.gitignore +++ b/.gitignore @@ -7,9 +7,11 @@ __pycache__/ # Distribution / packaging .Python env/ +venv/ eggs/ dist/ build/ +vendor/ .eggs/ *.egg-info/ .installed.cfg @@ -29,6 +31,4 @@ tags settings.yaml gdrive_credentials - -vendor client_secrets.json diff --git a/cps/static/js/logviewer.js b/cps/static/js/logviewer.js index 02393078..aa86d09e 100644 --- a/cps/static/js/logviewer.js +++ b/cps/static/js/logviewer.js @@ -17,7 +17,11 @@ // Upon loading load the logfile for the first option (event log) $(function() { - init(0); + if ($("#log_group input").length) + { + var element = $("#log_group input[type='radio']:checked").val(); + init(element); + } }); // After change the radio option load the corresponding log file diff --git a/cps/templates/email_edit.html b/cps/templates/email_edit.html index d1b6e893..5ac1dad8 100644 --- a/cps/templates/email_edit.html +++ b/cps/templates/email_edit.html @@ -89,7 +89,7 @@
{{_('Do you really want to delete this domain rule?')}}
- +