How to disable button choice "No" in Request Read Receipt?
Is possible in source code?
I try REMOVE line in function ZmMailApp.SEND_RECEIPT_PROMPT, line 17560 in source code zimbra/js/MailCore_all.js, no work, sample:
Code: Select all
if (rrPref == ZmMailApp.SEND_RECEIPT_PROMPT) {
var dlg = appCtxt.getYesNoMsgDialog();
dlg.registerCallback(DwtDialog.YES_BUTTON, this._sendReadReceipt, this, [msg, dlg]);
dlg.registerCallback(DwtDialog.NO_BUTTON, this._sendReadReceiptNotified, this, [msg, dlg]);
dlg.setMessage(ZmMsg.readReceiptSend, DwtMessageDialog.WARNING_STYLE);
dlg.popup();
} else if (rrPref == ZmMailApp.SEND_RECEIPT_ALWAYS) {
msg.readReceiptSent = true;
this._sendReadReceipt(msg);
}
Regards