- LSmail : Correction d'un bug révélé sous IE

This commit is contained in:
Benjamin Renard 2008-11-14 16:54:22 +00:00
parent 2216eb03e3
commit cc5ba69872

View file

@ -59,8 +59,9 @@ var LSmail = new Class({
if ($type(startElement)) { if ($type(startElement)) {
this.startElement = startElement; this.startElement = startElement;
data.imgload=varLSdefault.loadingImgDisplay(startElement,'inside'); data.imgload=varLSdefault.loadingImgDisplay(startElement);
} }
new Request({url: 'index_ajax.php', data: data, onSuccess: this.onOpenGetHtmlComplete.bind(this)}).send(); new Request({url: 'index_ajax.php', data: data, onSuccess: this.onOpenGetHtmlComplete.bind(this)}).send();
} }
}, },
@ -98,8 +99,7 @@ var LSmail = new Class({
action: 'send', action: 'send',
infos: this.sendInfos infos: this.sendInfos
}; };
LSdebug(data); data.imgload=varLSdefault.loadingImgDisplay(this.startElement);
data.imgload=varLSdefault.loadingImgDisplay(this.startElement,'inside');
new Request({url: 'index_ajax.php', data: data, onSuccess: this.onSendComplete.bind(this)}).send(); new Request({url: 'index_ajax.php', data: data, onSuccess: this.onSendComplete.bind(this)}).send();
} }
}, },