1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-21 07:07:05 +00:00

Fix remove-alias button breakage

This commit is contained in:
David Piggott 2015-07-04 21:40:19 +01:00
parent e6ff280984
commit 423bb8e317
2 changed files with 2 additions and 2 deletions

View File

@ -195,7 +195,7 @@ def mail_aliases_add():
@app.route('/mail/aliases/remove', methods=['POST'])
@authorized_personnel_only
def mail_aliases_remove():
return remove_mail_alias(request.form.get('source', ''), env)
return remove_mail_alias(request.form.get('address', ''), env)
@app.route('/mail/domains')
@authorized_personnel_only

View File

@ -216,7 +216,7 @@ function aliases_remove(elem) {
var row_address = $(elem).parents('tr').attr('data-email');
show_modal_confirm(
"Remove Alias",
"Remove " + email + "?",
"Remove " + row_address + "?",
"Remove",
function() {
api(