Logout dialog

Find and share HowTos to various installations / configurations!
4 posts • Page 1 of 1
mhargreaves
Posts:84
Joined: Thu Nov 11, 2010 12:31 pm

Logout dialog

Post by mhargreaves »

I have a two screen system setup from a custom template I have created.

One of the buttons in the navi panel is configured to run the following control script when clicked:

LogoutDialog(true,3,"vision/login.pnl","");


When I click on the button in the first screen's navi panel it shows the "are you sure you want to log off?" message with 'close all modules' checked, but only the panels on the first screen are closed when I click OK. If I do the same from the same button on the 2nd screen's navi panel, the panels on both screens are closed.

Any ideas why?

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Logout dialog

Post by Gertjan van Schijndel »

You could add some debug statements in the logoutDialog/loginDialog function to discover the cause.

mhargreaves
Posts:84
Joined: Thu Nov 11, 2010 12:31 pm

Re: Logout dialog

Post by mhargreaves »

I think i have found the problem in panel.ctl

if ( (closeModules == 1) || (closeModules == 3) )
{
for (i = 1; i

innovis
Posts:8
Joined: Mon Mar 26, 2012 5:01 pm

Re: Logout dialog

Post by innovis »

This is a feature ;)
No, seriously, if you are using more than one monitor I recommend you to take care yourself of closing modules.

4 posts • Page 1 of 1