Opened 15 years ago

Last modified 15 years ago

#3539 closed defect

JsonItemStore url parameter needs to be declared as a string — at Version 1

Reported by: bill Owned by: bill
Priority: high Milestone: 0.9beta
Component: Data Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

For the parser's benefit, to know that url is a String, file needs to say

url: ""

rather than

url: null

This is so we can use JsonItemStore? declaratively, like

<div dojoType=dojo.data.JsonItemStore url="foo.json">

which causes the parser to do

eval("var tmp=foo.json")

which is missing quotes around the file name, and causes problems (at least on my machine) in test_Combobox.html.

Change History (1)

comment:1 Changed 15 years ago by bill

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