Change in ovirt-engine[master]: webadmin: fix potential bug in tooltip mechanism
Code Review
gerrit at ovirt.org
Mon Jan 30 13:27:16 UTC 2017
>From Greg Sheremeta <gshereme at redhat.com>:
Greg Sheremeta has submitted this change and it was merged.
Change subject: webadmin: fix potential bug in tooltip mechanism
......................................................................
webadmin: fix potential bug in tooltip mechanism
Model.java has two overloading methods for setIsChangeable:
1. setIsChangeable(boolean value)
2. setIsChangeable(boolean value, String reason)
If setIsChangeable(false, "reason") is called and right afterwards
setIsChangeable(false) is called, then the model is indeed not
changeable, but it also has an unwanted tooltip, "reason".
This patch orders the mess with these methods and their overloading
ones.
Change-Id: I530ddd99c4f44287d46ffab45659a61a2a526ee3
Signed-off-by: Idan Shaby <ishaby at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/EntityModel.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/Model.java
2 files changed, 6 insertions(+), 14 deletions(-)
Approvals:
Jenkins CI: Passed CI tests
Greg Sheremeta: Looks good to me, approved
Idan Shaby: Verified
--
To view, visit https://gerrit.ovirt.org/71279
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I530ddd99c4f44287d46ffab45659a61a2a526ee3
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Idan Shaby <ishaby at redhat.com>
Gerrit-Reviewer: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Freddy Rolland <frolland at redhat.com>
Gerrit-Reviewer: Greg Sheremeta <gshereme at redhat.com>
Gerrit-Reviewer: Idan Shaby <ishaby at redhat.com>
Gerrit-Reviewer: Jakub Niedermertl <jniederm at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list