Problem:
Opening a page in my plugin on Vcenter Vsphere WebClient with images and CSS and JS file associated. In the JS i have a method which opens up a Modal Dialog box on a click action. When i close the modal dialog, the icons and images on the original page get bigger, and also some css is lost on some other elements. I also cannot find the JS file associated with the page.
When i tried debugging it, i set breakpoints before and after closing the Dialog box. It turns out that WEB_PLATFORM loses its reference after the dialog box is closed. It turns out to be null.
Solutions Tried:
I tried saving the WEB_PLATFORM and using it after closing but that doesnt work. I also tried a shallowcopy of the same and using it later but that doesnt work either.
Note: The problem persists only on IE and Chrome. Mozilla Firefox works perfectly as it is supposed to.
Any help would be great.
Thank you.