Change in ovirt-engine[master]: frontend: Slightly improve memory size unit relabeling

tjelinek at redhat.com tjelinek at redhat.com
Tue Jun 18 08:05:11 UTC 2013


Tomas Jelinek has submitted this change and it was merged.

Change subject: frontend: Slightly improve memory size unit relabeling
......................................................................


frontend: Slightly improve memory size unit relabeling

When creating a new VM, entering 1G (or 1g) into the Memory Size field,
gets changed to '1 MB' after hitting tab instead of '1024 MB'.

This patch allows entering suffixes 'm', 'M', 'g' and 'G'.

Change-Id: I0006718ead0c7e97bcdc3d4a2827245dc468b554
Bug-Url: https://bugzilla.redhat.com/974379
Signed-off-by: Frantisek Kobzik <fkobzik at redhat.com>
---
M frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/parser/MemorySizeParser.java
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Tomas Jelinek: Looks good to me, approved
  Frank Kobzik: Verified


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0006718ead0c7e97bcdc3d4a2827245dc468b554
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Frank Kobzik <fkobzik at redhat.com>
Gerrit-Reviewer: Frank Kobzik <fkobzik at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>



More information about the Engine-commits mailing list