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

IMPORTANT fix for HTML plugins in Chrome version >= 55.0.2883.87

$
0
0

Chrome recent update introduced a bug for HTML plugins running in the vSphere Flex client.  APIs such as WEB_PLATFORM.getObjectId(), getActionUid(), getActionTargets() stop working (except for the very first time a plugin view is opened).

 

There is a simple fix that must be applied by all HTML plugins, change this line in web-platform.js

if (!WEB_PLATFORM) {

   WEB_PLATFORM = self.parent.document.getElementById("container_app");

 

into

if (!WEB_PLATFORM) {

   WEB_PLATFORM = Object.create(self.parent.document.getElementById("container_app"));

 

Again, this Chrome problem only affects HTML plugins running in the vSphere Flex client, not the new HTML client, but it is critical for all plugins to apply it.


Viewing all articles
Browse latest Browse all 2218

Trending Articles



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