Opened 14 years ago
Closed 14 years ago
#3539 closed defect (fixed)
JsonItemStore url parameter needs to be declared as a string
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 )
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 (2)
comment:1 Changed 14 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
(In [9320]) Declare url as a string for the benefit of the parser. Fixes #3539