View Full Version : store.sync - XHR fires request for default url set in store

26 Apr 2011, 1:24 AM
On setting the new url using store.proxy.url = newurl the XHR request goes for the all the previously set urls. For example the store's proxy url is set in the model as 'url 0'. when store.sync() is invoked after setting the new url as store.proxy.url = 'url 1' the XHR request goes for both url 0 and url 1. Is there any possible way to send the XHR to the latest url. In this case only for url 1 and not for url 0.