Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

If window close still view loading if modal fetch data from server.

$
0
0

Hi,

I'm working on alloy framework. In my application first screen is login screen. I have two different kind of users and for them different layout. Suppose if user one login then tabgroup opens. When user one logout I'm closing that tabgroup. When user two login a simple window with some information opens.

I'm using modal that fetch data from server. And that modal is associated with both user layout.

Problem is that When Second user login still loading first user's layout in backgound and my screen is hanging. So how to totally remove the reference of that previous view?


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>