In Internet Explorer, if you call popupPanel.setVisible(...) while the panel is
hidden, an exception is thrown. This is happening because the __frame property
of the panel's DOM element is set to null when the panel is hidden. To fix this
problem, I added a null check on the __frame property in the setVisible(..)
method. I also made a change in onShow() to initialize __frame.style.visibility
to the visibility of the popup's element. The visibility property of the
popup's element is always set when setVisible(..) is called, regardless of
whether or not the panel is shown or hidden. 

Patch by: rdayal
Review by: jgw
Issue: 1120



git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1201 8db76d5a-ed1c-0410-87a9-c151d255dfc7
1 file changed