Martin Betak has uploaded a new change for review. Change subject: frontend: Fix Vm Dialog name validation ......................................................................
frontend: Fix Vm Dialog name validation Add missing call to setValidTab upon validation of name, description and comment properties. Change-Id: If15c482953c48107d155d1c5e8206c675ff9fb23 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1124363 Signed-off-by: Martin Betak <[email protected]> --- M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java 1 file changed, 5 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/58/34858/1 diff --git a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java index df2225b..213dfbc 100644 --- a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java +++ b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java @@ -2579,6 +2579,11 @@ }); getComment().validateEntity(new IValidation[] { new SpecialAsciiI18NOrNoneValidation() }); + + setValidTab(TabName.GENERAL_TAB, isValidTab(TabName.GENERAL_TAB) + && getName().getIsValid() + && getDescription().getIsValid() + && getComment().getIsValid()); } -- To view, visit http://gerrit.ovirt.org/34858 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If15c482953c48107d155d1c5e8206c675ff9fb23 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Martin Betak <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
