diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/IDesktop.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/IDesktop.java index 287360407d..42fd01348f 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/IDesktop.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/IDesktop.java @@ -206,6 +206,8 @@ public interface IDesktop extends UIPart { public void updateHelpTooltip(GridField gridField); + public void updateHelpTooltip(String hdr, String desc, String help, String otherContent); + public void updateHelpQuickInfo(GridTab gridTab); public boolean isPendingWindow(); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/HelpController.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/HelpController.java index 61ef38eac4..1f0f4f1e7c 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/HelpController.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/HelpController.java @@ -183,11 +183,13 @@ public class HelpController sb.append("\n\n
\n"); if (hdr == null || hdr.trim().length() == 0){ - if (otherContent != null){ + if (otherContent == null){ + otherContent = Msg.getMsg(Env.getCtx(), "PlaceCursorIntoField"); + } + sb.append("("); sb.append (otherContent); sb.append (")"); - } }else{ sb.append(""); sb.append(hdr);