mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 20:01:39 +02:00
Fix delete buttons with new dialog in mail ACL popup window
This commit is contained in:
parent
8f45c0e639
commit
e9a7228a95
@ -1963,6 +1963,24 @@ app.classes.mail = AppJS.extend(
|
|||||||
request.sendRequest();
|
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)
|
* Edit a folder acl for account(s)
|
||||||
*
|
*
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
<checkbox align="center" id="${row}[acl_a]" />
|
<checkbox align="center" id="${row}[acl_a]" />
|
||||||
<checkbox align="center" id="${row}[acl_recursive]"/>
|
<checkbox align="center" id="${row}[acl_recursive]"/>
|
||||||
<hbox orient=",0,0">
|
<hbox orient=",0,0">
|
||||||
<button align="right" statustext="Delete this ACL" label="Delete" id="delete[${row}]" value="${row}" image="delete" onclick="return app.mail.acl_delete_btn();"/>
|
<button align="right" statustext="Delete this ACL" label="Delete" id="delete[${row}]" value="${row}" image="delete" onclick="app.mail.acl_delete_btn"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user