rice-framework/krad-web/src/main/webapp/krad/scripts/krad.message.js
/**
 * Invoked to remove a loading/blocking indicator
 *
 * @param elementToBlock - (optional) the element the blocking is on, if not given it is assumed the entire
 * window is being blocked
 */
Invoked to remove a loading/blocking indicator

@param elementToBlock - (optional) the element the blocking is on, if not given it is assumed the entire
window is being blocked
Invoked to remove a loading / blocking indicator @param elementToBlock - ( optional ) the element the blocking is on if not given it is assumed the entire window is being blocked
function hideLoading(elementToBlock) {
    if (nonEmpty(elementToBlock)) {
        elementToBlock.unblock();
    }
    else {
        var context = getContext();
        context.unblockUI();
    }
}
function hideLoading ( elementToBlock ) { if ( nonEmpty ( elementToBlock ) ) { elementToBlock . unblock ( ) ; } else { var context = getContext ( ) ; context . unblockUI ( ) ; } }
Invoked to remove a loading/blocking indicator
Invoked to remove a loading / blocking indicator