fixed every mail seems to request a delivery notification (caused by dataElem.data.dispositionnotificationto === null)

This commit is contained in:
Ralf Becker 2014-03-26 09:09:30 +00:00
parent 756e5c1732
commit 33b93e0665

View File

@ -650,7 +650,8 @@ app.classes.mail = AppJS.extend(
this.mail_removeRowClass(messages,'unseen');
// reduce counter without server roundtrip
this.mail_reduceCounterWithoutServerRoundtrip();
if (typeof dataElem.data.dispositionnotificationto != 'undefined' && typeof dataElem.data.flags.mdnsent == 'undefined' && typeof dataElem.data.flags.mdnnotsent == 'undefined')
if (typeof dataElem.data.dispositionnotificationto != 'undefined' && dataElem.data.dispositionnotificationto &&
typeof dataElem.data.flags.mdnsent == 'undefined' && typeof dataElem.data.flags.mdnnotsent == 'undefined')
{
var buttons = [
{text: this.egw.lang("Yes"), id: "mdnsent"},