rice-framework/krad-web/src/main/webapp/krad/scripts/krad.validate.js
/**
 * Hide the message tooltip associated with the field by id
 * @param fieldId the id of the field
 */
Hide the message tooltip associated with the field by id
@param fieldId the id of the field
Hide the message tooltip associated with the field by id @param fieldId the id of the field
function hideMessageTooltip(fieldId) {
    var elementInfo = getHoverElement(fieldId);
    var element = elementInfo.element;
    if (elementInfo.type == "fieldset") {
        element = jQuery(element).filter(".uif-tooltip");
    }
    var popoverData = element.data(kradVariables.POPOVER_DATA);
    if (!popoverData) {
        return;
    }
    var data = getValidationData(jQuery("#" + fieldId));
    if (data && data.showTimer) {
        clearTimeout(data.showTimer);
    }
    var popover = jQuery(element).next(".popover");
    if (data.tooltipTheme) {
        popover.removeClass(data.tooltipTheme);
    }
    element.popover("hide");
    element.data(kradVariables.POPOVER_DATA).shown = false;
}
function hideMessageTooltip ( fieldId ) { var elementInfo = getHoverElement ( fieldId ) ; var element = elementInfo . element ; if ( elementInfo . type == "fieldset" ) { element = jQuery ( element ) . filter ( ".uif-tooltip" ) ; } var popoverData = element . data ( kradVariables . POPOVER_DATA ) ; if ( ! popoverData ) { return ; } var data = getValidationData ( jQuery ( "#" + fieldId ) ) ; if ( data && data . showTimer ) { clearTimeout ( data . showTimer ) ; } var popover = jQuery ( element ) . next ( ".popover" ) ; if ( data . tooltipTheme ) { popover . removeClass ( data . tooltipTheme ) ; } element . popover ( "hide" ) ; element . data ( kradVariables . POPOVER_DATA ) . shown = false ; }
Hide the message tooltip associated with the field by id
 @param fieldId the id of the field
Hide the message tooltip associated with the field by id @param fieldId the id of the field
//for checkbox/radio fieldsets we put the tooltip on the label of the first input
