Frank Kobzik has uploaded a new change for review.

Change subject: frontend: SPICE ActiveX plugin IE 11 workaround
......................................................................

frontend: SPICE ActiveX plugin IE 11 workaround

Currently SPICE ActiveX plugin cannot handle embedding into DOM without
<PARAM NAME="SecurePort" VALUE="0"/> element inside <object ...>
element. This patch adds this dummy <PARAM .../> element.

Change-Id: Ibb63ac7c0dcd269de33ced50da215e86072476cc
Signed-off-by: Frantisek Kobzik <[email protected]>
Bug-Url: https://bugzilla.redhat.com/1052104
---
M 
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/uicommon/SpicePluginImpl.java
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/86/23286/1

diff --git 
a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/uicommon/SpicePluginImpl.java
 
b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/uicommon/SpicePluginImpl.java
index ead6614..120eed4 100644
--- 
a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/uicommon/SpicePluginImpl.java
+++ 
b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/uicommon/SpicePluginImpl.java
@@ -67,7 +67,9 @@
     public native String loadActiveX(String id, String codebase, String 
classId) /*-{
                                                                                
  var container = $wnd.document.createElement("div");
                                                                                
  container.innerHTML = '<object id="' + id + '" codebase="' + codebase + '" 
classid="CLSID:' + classId
-                                                                               
  + '" width="0" height="0"></object>';
+                                                                               
  + '" width="0" height="0">' +
+                                                                               
      '<PARAM NAME="SecurePort" VALUE="0">'
+                                                                               
      '</object>'; // <PARAM ...> element is workaround to make spice activex 
addon working with ie 11
                                                                                
  container.style.width = "0px";
                                                                                
  container.style.height = "0px";
                                                                                
  container.style.position = "absolute";


-- 
To view, visit http://gerrit.ovirt.org/23286
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibb63ac7c0dcd269de33ced50da215e86072476cc
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.3
Gerrit-Owner: Frank Kobzik <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to