Opened 9 years ago

Closed 9 years ago

#16962 closed defect (fixed)

dojox.widget.MultiSelectCalendar doesn't work with lite query selector

Reported by: tsemachh Owned by: bill
Priority: undecided Milestone: 1.9
Component: DojoX Widgets Version: 1.8.1
Keywords: Cc:
Blocked By: Blocking:


Hi We faced issue with dojox.widget.MultiSelectCalendar? it was failing with error:

SyntaxError: An invalid or illegal string was specified

After massive debugging I've discovered the following: The code there uses :

dojo.query("[dijitDateValue=" + oldFocus.valueOf() + "]", this.domNode)[0] : null;

This tries to query: [dijitDateValue=1364912420513] which fails with lite query selector.

For now I switched back to acme but I think code either should be fixed or at least require acme selector.

thx tsemach

Change History (3)

comment:1 Changed 9 years ago by bill

[dijitDateValue=1364912420513] should work with the lite engine, according to Maybe it's just missing quotes around the value?

comment:2 Changed 9 years ago by bill

Milestone: tbd1.9
Owner: changed from dante to bill
Status: newassigned

comment:3 Changed 9 years ago by bill

Resolution: fixed
Status: assignedclosed

In [31231]:

Add missing quotes to dojo.query() expression. Presumably fixes #16962 although hard to tell given that the ticket has no test case or detailed explanation. !strict

Note: See TracTickets for help on using tickets.