Ticket #1110 (closed enhancement: fixed)
SetHTML if not loading finished
| Reported by: | guest | Owned by: | guillaumed |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Xinha Core | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | gdo@… |
Description
I'm using Xinha in Flex (Adobe) which use the AjaxBridge. I cannot easily control the setHTML call from Flex, so it can arrive too early.. To avoid handling event loading, I preferd to easily patch this with the following code in setHTML
Xinha.prototype.setHTML = function(html)
{
if (this._doc != null) {
if ( !this.config.fullPage )
{
this._doc.body.innerHTML = html;
}
else
{
this.setFullHTML(html);
}
}
this._textArea.value = html;
};
Change History
Note: See
TracTickets for help on using
tickets.
