Opened 11 years ago
Closed 11 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 11 years ago by
Summary: | Making dojox.fx.text._backspace work in Internet Explorer → [patch]Making dojox.fx.text._backspace work in Internet Explorer |
---|
comment:2 Changed 11 years ago by
Milestone: | tbd → 1.5 |
---|
comment:3 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
(In [21868]) IE alternative to textContent from thomasbachem, fixes #10944 !strict