Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#6720 closed defect (fixed)

IE: dijit._editor.getNodeHtml fails on IMG

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

Description (last modified by Adam Peller)

IE seems to encode numeric attributes, like width=600, as Number, not String. Calling escapeXML on the value 600 results in an error.

  1. Go to http://cns2.uni.edu/~wallingf/teaching/agile/resources/dilbert-xp/ and copy one of the cartoons for example.
  2. Paste the cartoon into the body of the DOJO 1.1 (bluewashed version) editor.
  3. Use Editor.getValue() to get the content.
  4. Get the following IE Page error:

Char: 182782 ERROR: Object doesn't support this property or method Code: 0

Change History (3)

comment:1 Changed 12 years ago by Adam Peller

(In [13657]) Tolerate IE returning attribute values as Numbers. Refs #6720

comment:2 Changed 12 years ago by Adam Peller

Resolution: fixed
Status: newclosed

(In [13658]) Tolerate IE returning attribute values as Numbers. Fixes #6720 on 1.1 branch

comment:3 Changed 12 years ago by Adam Peller

Description: modified (diff)
Note: See TracTickets for help on using tickets.