Warning: [SecondWindow] CloseChildrenOnClose

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Warning: [SecondWindow] CloseChildrenOnClose

Post by Scott »

The following PWB INI setting should only be used in a closed system with known pop-up window qualities.

[SecondWindow]
...
CloseChildrenOnClose=True
...

This setting, seems to be causing all kinds of problems. Sites that use pop-ups to open pop-ups and close the original pop-up will have unpredictable results as closing the pop-up that opened a pop-up with the above setting will cause both pop-ups to close.

In essence, with the Close Children on Close, PWB will close any window a window has opened when it is closed. If the web site expects the child windows to remain open it can cause an error.

Here is a diagram of the setting.

Parent - ChildA - ChildA1
- ChildB - ChildB1 - ChildB2 - ChildB3
- ChildC - ChildC1

Closing ChildB1 will also close ChildB2 and ChildB3, but leave intact ChildA, ChildA1, ChildB, ChildC, and ChildC1. If the web page expects ChildB2, or ChildB3, to remain open the results will be unpredictable.

--Scott

Post Reply