Frank Kobzik has uploaded a new change for review.

Change subject: frontend: fix behavior of console client doc window
......................................................................

frontend: fix behavior of console client doc window

This patch fixes behavior of console client resources window in webadmin
and userportal in MSIE. Previously the content window was opened without
the possibility of resizing and with invisible scrollbars.

Change-Id: Id872043b88c7cb8fc4077b79a696e97ec8891c8f
Bug-Url: https://bugzilla.redhat.com/1078141
Signed-off-by: Frantisek Kobzik <[email protected]>
---
M 
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/presenter/popup/ConsolePopupPresenterWidget.java
M 
frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/presenter/tab/basic/MainTabBasicDetailsPresenterWidget.java
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/97/27597/1

diff --git 
a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/presenter/popup/ConsolePopupPresenterWidget.java
 
b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/presenter/popup/ConsolePopupPresenterWidget.java
index d98011c..dda0da4 100644
--- 
a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/presenter/popup/ConsolePopupPresenterWidget.java
+++ 
b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/presenter/popup/ConsolePopupPresenterWidget.java
@@ -244,7 +244,7 @@
         
registerHandler(getView().getConsoleClientResourcesAnchor().addClickHandler(new 
ClickHandler() {
             @Override
             public void onClick(ClickEvent event) {
-                Window.open(dynamicMessages.consoleClientResourcesUrl(), 
"_blank", null); //$NON-NLS-1$
+                Window.open(dynamicMessages.consoleClientResourcesUrl(), 
"_blank", "resizable=yes,scrollbars=yes"); //$NON-NLS-1$ $NON-NLS-2$
             }
         }));
     }
diff --git 
a/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/presenter/tab/basic/MainTabBasicDetailsPresenterWidget.java
 
b/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/presenter/tab/basic/MainTabBasicDetailsPresenterWidget.java
index de3f859..763e5e6 100644
--- 
a/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/presenter/tab/basic/MainTabBasicDetailsPresenterWidget.java
+++ 
b/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/presenter/tab/basic/MainTabBasicDetailsPresenterWidget.java
@@ -117,7 +117,7 @@
         
registerHandler(getView().getConsoleClientResourcesAnchor().addClickHandler(new 
ClickHandler() {
             @Override
             public void onClick(ClickEvent event) {
-                Window.open(dynamicMessages.consoleClientResourcesUrl(), 
"_blank", null); //$NON-NLS-1$
+                Window.open(dynamicMessages.consoleClientResourcesUrl(), 
"_blank", "resizable=yes,scrollbars=yes"); //$NON-NLS-1$ //$NON-NLS-2$
             }
         }));
     }


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

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

Reply via email to