PDA

View Full Version : On Browser Refresh [F5] loosing all opened tabs & comes to welcome page in my app



Sameer Khan
6 Jul 2012, 12:23 AM
Hi , anyone can u please help me when I do refresh in my browser , I was lost all the opened tabs & application comes to initial position [ie. welcome page] . But should not happen like this.

Regards,
Sameer khan

scottmartin
6 Jul 2012, 12:47 PM
You are reloading the app by clicking F5, same as if you refresh any website. This is normal.

Scott.

Sameer Khan
6 Jul 2012, 8:55 PM
Might be. But If you take sencha touch API itself, Just open some of the classes and refresh browser then you will not loose all the opened tabs[classes from Pkg's] from the API documentation. I need to do same this thing like API behaves.

scottmartin
6 Jul 2012, 9:30 PM
You can have a look at the state manager to see if this helps:
http://localhost/extjs4/docs/#!/api/Ext.state.Manager

Used in this example:
http://dev.sencha.com/deploy/ext-4.1.0-gpl/examples/grid/array-grid.js

Scott.