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

Re : Controllers on parent element are getting destroyed when a child element is removed from the DOM which has controller - this is happening recursively

$
0
0
The fiddle is way too complicated for the issue you want to replicate. Is the DOM structure the same in the fiddle as it is in your app and are the versions of the libraries you are using the same? The fiddles point to the latest version which is 1.1.6-pre at this point.

The only way I see this happening is if your rendering of pageContainerEJS replaces the DOM element that was passed to the Login Control. 

Viewing all articles
Browse latest Browse all 3491

Trending Articles