* set tid in login page.
This commit is contained in:
+1
-6
@@ -39,7 +39,7 @@
|
||||
{
|
||||
if(window.parent.$.tabSession) _tid = window.parent.$.tabSession.getTid();
|
||||
}
|
||||
else if(config.currentModule === 'index' && config.currentMethod === 'index')
|
||||
else if((config.currentModule === 'index' && config.currentMethod === 'index') || (config.currentModule === 'user' && config.currentMethod === 'login'))
|
||||
{
|
||||
_tid = sessionStorage.getItem('TID');
|
||||
if(!_tid)
|
||||
@@ -55,11 +55,6 @@
|
||||
}
|
||||
sessionStorage.setItem('TID', _tid);
|
||||
}
|
||||
else if(config.currentModule === 'user' && config.currentMethod === 'login')
|
||||
{
|
||||
/* Remove tid at login page */
|
||||
sessionStorage.removeItem('TID');
|
||||
}
|
||||
|
||||
$.tabSession =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user