Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Refresh models programmatically

$
0
0
Greetings can fans,

I am looking into a pub/sub solution where I refresh my models based on received events from faye.

If I do another findOne on the model, the new state is not picked up, even though the server returns the correct (new) model state. So basically I want to do a 'force reload' of sorts. How can I best do this so the new json gets loaded and triggers the bindings?

Thanks,
Michel

Viewing all articles
Browse latest Browse all 3491

Trending Articles