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

Re : How to configure Model.findXXX methods not to use store.

$
0
0
Its not the User object which has problem and user object has a unique Id configured using id static property.

Its the shared model object (in this case Application model object which also has unique id configured using id static property) has the problem.

I agree with your memory leak point. When User1 logs out he is the out of Application Details page and all bindings should be removed and in turn object should be removed from store. This is not happening and I need to see why.

Is there a way to know all the bindings on particular model object?

User1 and User2 share Application1 model object. User1 has all privileges on Application1 and User 2 doesn't have all privileges on Application1. 


Can we use removeAttr  static property to solve this problem?



Viewing all articles
Browse latest Browse all 3491

Trending Articles