Opened 11 years ago

Closed 11 years ago

#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 (3)

comment:1 Changed 11 years ago by guest

  • Type changed from defect to enhancement

comment:2 Changed 11 years ago by guillaumed

  • Owner changed from gogo to guillaumed

comment:3 Changed 11 years ago by guillaumed

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.