Opened 7 years ago

Closed 7 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:

Description

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 7 years ago by bill

[dijitDateValue=1364912420513] should work with the lite engine, according to http://dojotoolkit.org/reference-guide/1.8/dojo/query.html#dojo-query. Maybe it's just missing quotes around the value?

comment:2 Changed 7 years ago by bill

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

comment:3 Changed 7 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.