Fix remove-alias button breakage
This commit is contained in:
parent
e6ff280984
commit
423bb8e317
|
@ -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
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue