Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

WEB_PLATFORM loses reference and goes to null after Dialog Box Closes in a subplugin.

$
0
0

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.


Viewing all articles
Browse latest Browse all 2218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>