You can return false from the CallbackHandler to indicate that the result should not be displayed in the HoverPanel. Otherwise return true or nothing at all.
function ShowLineItems(event,Id) { LineItemPanel.callbackHandler = CheckResult; LineItemPanel.startCallback(event,"id=" + Id + "&LineItemDisplay=1"); } function HideLineItems() { LineItemPanel.hide(); } function CheckResult(Result) { alert(Result); return false; // abort display }
o.wwHoverPanel.callbackHandler