Tomas Jelinek has uploaded a new change for review.

Change subject: userportal,webadmin: Invalid Time Zone Shown for Windows Guests
......................................................................

userportal,webadmin: Invalid Time Zone Shown for Windows Guests

VM -> General: Time zone

Removed until VDSM and Guest agent will support
returning of the time zone from within a guest.

It is not really deleted, just commente, so it will be more
simple to find it once it has to be moved back.

Change-Id: I5684eb26ab53ed52d1b47b3ece24811b1f1425da
Signed-off-by: Tomas Jelinek <tjeli...@redhat.com>
---
M 
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/vm/VmGeneralModelForm.java
1 file changed, 10 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/76/7976/1

diff --git 
a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/vm/VmGeneralModelForm.java
 
b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/vm/VmGeneralModelForm.java
index 42d59c5..b0e16b3 100644
--- 
a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/vm/VmGeneralModelForm.java
+++ 
b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/vm/VmGeneralModelForm.java
@@ -97,12 +97,16 @@
                 return getModel().getHasDomain();
             }
         });
-        formBuilder.addFormItem(new FormItem(constants.timeZoneVm(), timeZone, 
6, 2) {
-            @Override
-            public boolean isVisible() {
-                return getModel().getHasTimeZone();
-            }
-        });
+
+//        Removed because VDSM and guest agent don't support returning of the 
time zone within the guest.
+//        TODO: Uncomment again once this will be implemented.
+//
+//        formBuilder.addFormItem(new FormItem(constants.timeZoneVm(), 
timeZone, 6, 2) {
+//            @Override
+//            public boolean isVisible() {
+//                return getModel().getHasTimeZone();
+//            }
+//        });
     }
 
     @Override


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5684eb26ab53ed52d1b47b3ece24811b1f1425da
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <tjeli...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to