rice-framework/krad-web/src/main/webapp/krad/scripts/krad.message.js
/**
 * Add icon to a group header element (disclosure/header) that indicates the data for the group has changed
 *
 * @param fieldId - id for the header field the icon should be added to
 */
Add icon to a group header element (disclosure/header) that indicates the data for the group has changed

@param fieldId - id for the header field the icon should be added to
Add icon to a group header element ( disclosure / header ) that indicates the data for the group has changed @param fieldId - id for the header field the icon should be added to
function showChangeIconOnGroupHeader(fieldId, idSuffix) {
    var targetElement = jQuery("#" + fieldId + idSuffix).find("[class~=uif-headerText-span]");
    var headerIcon = jQuery("#" + fieldId + "_changeIcon");
    if (targetElement.length > 0 && headerIcon.length == 0) {
        targetElement.append("<img id='" + fieldId + "_changeIcon' class='" + kradVariables.CHANGED_HEADER_ICON_CLASS + "' alt='" + getMessage(kradVariables.MESSAGE_CHANGE) + "' src='" + getConfigParam(kradVariables.IMAGE_LOCATION) + "asterisk_orange.png'>");
    }
}
function showChangeIconOnGroupHeader ( fieldId , idSuffix ) { var targetElement = jQuery ( "#" + fieldId + idSuffix ) . find ( "[class~=uif-headerText-span]" ) ; var headerIcon = jQuery ( "#" + fieldId + "_changeIcon" ) ; if ( targetElement . length > 0 && headerIcon . length == 0 ) { targetElement . append ( "<img id='" + fieldId + "_changeIcon' class='" + kradVariables . CHANGED_HEADER_ICON_CLASS + "' alt='" + getMessage ( kradVariables . MESSAGE_CHANGE ) + "' src='" + getConfigParam ( kradVariables . IMAGE_LOCATION ) + "asterisk_orange.png'>" ) ; } }
Add icon to a group header element (disclosure/header) that indicates the data for the group has changed
Add icon to a group header element ( disclosure / header ) that indicates the data for the group has changed