Fix "Always display external images in message body" setting (Closes #116)

This commit is contained in:
RainLoop Team 2014-04-06 16:25:15 +04:00
parent 21868fb5db
commit 3936a818b7
3 changed files with 5 additions and 3 deletions

View file

@ -955,6 +955,8 @@ WebMailDataStorage.prototype.setMessage = function (oData, bCached)
oMessagesBodiesDom.append(oMessage.body);
}
oMessage.storeDataToDom();
if (bHasInternals)
{
oMessage.showInternalImages(true);
@ -965,7 +967,6 @@ WebMailDataStorage.prototype.setMessage = function (oData, bCached)
oMessage.showExternalImages(true);
}
oMessage.storeDataToDom();
this.purgeMessageBodyCacheThrottle();
}
else

View file

@ -15159,6 +15159,8 @@ WebMailDataStorage.prototype.setMessage = function (oData, bCached)
oMessagesBodiesDom.append(oMessage.body);
}
oMessage.storeDataToDom();
if (bHasInternals)
{
oMessage.showInternalImages(true);
@ -15169,7 +15171,6 @@ WebMailDataStorage.prototype.setMessage = function (oData, bCached)
oMessage.showExternalImages(true);
}
oMessage.storeDataToDom();
this.purgeMessageBodyCacheThrottle();
}
else

File diff suppressed because one or more lines are too long