llpyyz (1) [Avatar] Offline
#1
I am using Sencha Touch 2.3.1 and have had great success running/modifying examples from STIA up to this point. But when I open 7.12_treestore.html in Chrome I see the following error in the Console:

"XMLHttpRequest cannot load file:///C:/Users/David/Documents/SenchaApps/TreeStore1/authors-tree.json?_dc=1401750021624&node=ext-data-treestore-1-root&page=1&start=0&limit=25. Received an invalid response. Origin 'null' is therefore not allowed access."

so it appears the TreeStore is not loading correctly. I looked at the Sencha Docs, in particular at http://docs.sencha.com/touch/2.3.1/#!/guide/stores. I added a reader config to the proxy but that did not solve the issue. (And that config supposedly should not be necessary since as per http://docs.sencha.com/touch/2.3.1/#!/api/Ext.data.proxy.Proxy-cfg-reader, the default is a json reader.

So I am stumped. Anybody else encounter this problem with listing 7.12? Any suggestions? Thanks.

David