Opened 15 years ago

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

Description: modified (diff)

comment:2 Changed 15 years ago by bill

Resolution: fixed
Status: newclosed

(In [9320]) Declare url as a string for the benefit of the parser. Fixes #3539

Note: See TracTickets for help on using tickets.