Opened 9 years ago

Closed 9 years ago

#10944 closed defect (fixed)

[patch]Making dojox.fx.text._backspace work in Internet Explorer

Reported by: Thomas Bachem Owned by: Bryan Forbes
Priority: high Milestone: 1.5
Component: fx Version: 1.4.1
Keywords: Cc:
Blocked By: Blocking:

Description

Tested on Internet Explorer 8.0 (Windows 7), dojox.fx.text.backspace (Dojo Release 1.4.1) doesn't work.

This is because IE doesn't know the "textContent" property. Luckily we can use "innerText" instead to get it working.

Change dojox/fx/text.js line 406 from

var text = piece.textContent;

to

var text = typeof(piece.textContent) != "undefined" ? piece.textContent : piece.innerText;

Change History (3)

comment:1 Changed 9 years ago by Adam Peller

Summary: Making dojox.fx.text._backspace work in Internet Explorer[patch]Making dojox.fx.text._backspace work in Internet Explorer

comment:2 Changed 9 years ago by Adam Peller

Milestone: tbd1.5

comment:3 Changed 9 years ago by Adam Peller

Resolution: fixed
Status: newclosed

(In [21868]) IE alternative to textContent from thomasbachem, fixes #10944 !strict

Note: See TracTickets for help on using tickets.