diff --git a/management/templates/index.html b/management/templates/index.html index 35f27479..780e8cb2 100644 --- a/management/templates/index.html +++ b/management/templates/index.html @@ -376,9 +376,10 @@ var current_panel = null; var switch_back_to_panel = null; function show_panel(panelid) { - if (panelid.getAttribute) + if (panelid.getAttribute) { // we might be passed an HTMLElement . panelid = panelid.getAttribute('href').substring(1); + } $('.admin_panel').hide(); $('#panel_' + panelid).show(); diff --git a/management/templates/smtp-relays.html b/management/templates/smtp-relays.html index c2148754..74b3e86d 100644 --- a/management/templates/smtp-relays.html +++ b/management/templates/smtp-relays.html @@ -2,15 +2,34 @@

SMTP Relays