mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-09 08:25:03 +02:00
Fix delete buttons with new dialog in mail ACL popup window
This commit is contained in:
@ -1963,6 +1963,24 @@ app.classes.mail = AppJS.extend(
|
||||
request.sendRequest();
|
||||
},
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*/
|
||||
acl_delete_btn: function(_egw,_widget)
|
||||
{
|
||||
var that = this;
|
||||
var buttonId = _widget.id;
|
||||
var callbackAclDeleteDialog = function (button_id)
|
||||
{
|
||||
if (button_id == et2_dialog.YES_BUTTON )
|
||||
{
|
||||
that.et2._inst.submit(buttonId);
|
||||
}
|
||||
}
|
||||
et2_dialog.show_dialog(callbackAclDeleteDialog, this.egw.lang("Do you really want to remove all rights from this account"),this.egw.lang("Delete"), {},et2_dialog.BUTTONS_YES_NO_CANCEL, et2_dialog.WARNING_MESSAGE);
|
||||
},
|
||||
|
||||
/**
|
||||
* Edit a folder acl for account(s)
|
||||
*
|
||||
|
Reference in New Issue
Block a user