Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#9478 closed defect (fixed)

dijit.range.atBeginningOfContainer/atEndOfContainer consider '00' as empty string

Reported by: liucougar Owned by: liucougar
Priority: high Milestone: 1.4
Component: Editor Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:


due to the fact that in js: '00'==0 is actually true

Change History (4)

comment:1 Changed 13 years ago by liucougar

Resolution: fixed
Status: newclosed

(In [18471]) fixes #9478: don't use dojo.trim to see whether a string is empty, use regular expression directly

comment:2 Changed 13 years ago by Adam Peller

Milestone: tbd1.4

comment:3 Changed 13 years ago by liucougar

(In [18498]) refs #9478: accidentally committed something not intended adds \xA0 to regular expression: it is not included in \s

comment:4 Changed 12 years ago by liucougar

(In [21600]) refs #9478: make getCommonAncestor accept an optional root parameter to stop search for common parent

Note: See TracTickets for help on using tickets.