Code:
ZmMailMsgView.prototype._createDisplayImageClickClosure =
function(msg, idoc, id, iframe) {
var self = this;
var func = function() {
var images = idoc.getElementsByTagName("img");
for (var i = 0; i < images.length; i++) {
if (images[i].getAttribute("dfsrc")) {
// If we just loop through the images, IE for some reason,
// doesn't fetch the image. By launching them off in the
// background we seem to kick IE's engine a bit.
if (AjxEnv.isIE) {
var args = [images[i], i, images.length, msg, idoc, iframe, self];
var act = new AjxTimedAction(null, ZmMailMsgView._swapIdAndSrc, args);
AjxTimedAction.scheduleAction(act, 0);
} else {
images[i].src = images[i].getAttribute("dfsrc");
}
}
}
diEl = document.getElementById(id);
if (diEl)
diEl.style.display = "none";
this._htmlBody = idoc.documentElement.innerHTML;
if (!AjxEnv.isIE) {
self._resetIframeHeightOnTimer(iframe);
}
ZmMailMsgView._resetIframeHeight(self, iframe);
----->msg.setHtmlContent(this._htmlBody);
msg.showImages = true;
};
return func;
}; the error console of firefox showed me this line...
Dont know if it 's what you need...
I stay open to find the right part of code if you need!