Greg Sheremeta has uploaded a new change for review. Change subject: userportal, webadmin: make null tooltip value clear the tooltip ......................................................................
userportal, webadmin: make null tooltip value clear the tooltip Bug fix. mMake null HTML tooltip value clear the tooltip. Change-Id: Ia281df44c7d0abe46a737f8ffb49a3d856e37e35 Signed-off-by: Greg Sheremeta <[email protected]> --- M frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/tooltip/Tooltip.java 1 file changed, 4 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/20/39120/1 diff --git a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/tooltip/Tooltip.java b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/tooltip/Tooltip.java index f981c67..da9d3d7 100644 --- a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/tooltip/Tooltip.java +++ b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/tooltip/Tooltip.java @@ -333,7 +333,10 @@ */ public void setHtml(final SafeHtml html) { setHTML(true); - if (html != null) { + if (html == null) { + setTitle(""); //$NON-NLS-1$ + } + else { setTitle(html.asString()); } } -- To view, visit https://gerrit.ovirt.org/39120 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia281df44c7d0abe46a737f8ffb49a3d856e37e35 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Greg Sheremeta <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
