Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#6376 closed defect (fixed)

IE: Editor setValue() failure

Reported by: Adam Peller Owned by: liucougar
Priority: high Milestone: 1.1.1
Component: Editor Version: 1.1.0
Keywords: Cc:
Blocked By: Blocking:

Description

This test case worked in 1.0.2, but fails to set the Editor's value in 1.1.0. Refresh the page and it works.

Reported by Steve Leland, IBM.

Attachments (2)

iesteve.html (607 bytes) - added by Adam Peller 12 years ago.
test case
setvalue.patch (614 bytes) - added by Adam Peller 12 years ago.
use onLoadDeferred for setValue

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by Adam Peller

Attachment: iesteve.html added

test case

comment:1 Changed 12 years ago by Adam Peller

test case should read "Hi there" but instead just says "Loading..."

comment:2 Changed 12 years ago by Adam Peller

Summary: Editor setValue() failureIE: Editor setValue() failure

comment:3 Changed 12 years ago by Adam Peller

setValue is sensitive to the fact that onLoad() fires at different times depending on the browser. Use the Deferred object to set the value on the editor when it's ready

Changed 12 years ago by Adam Peller

Attachment: setvalue.patch added

use onLoadDeferred for setValue

comment:4 Changed 12 years ago by Adam Peller

Resolution: fixed
Status: newclosed

(In [13577]) Fixes #6376 on 1.1 branch only, to defer setValue if editor is still loading. No longer a problem on trunk after Alex's refactor (see #6582)

comment:5 Changed 12 years ago by Adam Peller

(In [13669]) improved patch from jgarfield for deferred setValue on IE. 1.1 branch. Refs #6376

Note: See TracTickets for help on using tickets.