diff --git a/addressbook/js/app.js b/addressbook/js/app.js index 808d5fcc62..f609cc299a 100644 --- a/addressbook/js/app.js +++ b/addressbook/js/app.js @@ -78,27 +78,6 @@ app.classes.addressbook = AppJS.extend( }); }, - /** - * Creat a dialog for delete action in edit popup window. - * - * @param _action - * @param _senders - * - */ - delete_contact: function(_action, _senders) - { - var that = this; - var buttonId = _senders.id; - var callbackDeleteDialog = function (button_id) - { - if (button_id == et2_dialog.YES_BUTTON ) - { - that.et2._inst.submit(buttonId); - } - } - et2_dialog.show_dialog(callbackDeleteDialog, this.egw.lang("Do you really want to delete this contact?"),this.egw.lang("Delete"), {},et2_dialog.BUTTONS_YES_NO_CANCEL, et2_dialog.WARNING_MESSAGE); - }, - /** * Add appointment or show calendar for selected contacts, call default nm_action after some checks * diff --git a/addressbook/templates/default/edit.xet b/addressbook/templates/default/edit.xet index e27a808725..608ce46cbf 100644 --- a/addressbook/templates/default/edit.xet +++ b/addressbook/templates/default/edit.xet @@ -636,7 +636,7 @@