rice-framework/krad-web/src/main/webapp/krad/scripts/krad.document.js
/**
 * Determines if the Action Requested select control for Ad Hoc Recipients has a value of COMPLETE.
 *
 * @returns {boolean} true if the above condition exists, false otherwise.
 */
Determines if the Action Requested select control for Ad Hoc Recipients has a value of COMPLETE.
@returns {boolean} true if the above condition exists, false otherwise.
Determines if the Action Requested select control for Ad Hoc Recipients has a value of COMPLETE . @returns { boolean } true if the above condition exists false otherwise .
function isAdHocComplete() {
    var adHocRoutes = jQuery("select[name^='document.adHocRouteWorkgroups['],[name^='document.adHocRoutePersons[']");
    var complete = false;
    adHocRoutes.each(function isSetToComplete(index, selectControl) {
        if (jQuery(selectControl).val() === "C") {
            complete = true;
            return false;
        }
    });
    return complete;
}
function isAdHocComplete ( ) { var adHocRoutes = jQuery ( "select[name^='document.adHocRouteWorkgroups['],[name^='document.adHocRoutePersons[']" ) ; var complete = false ; adHocRoutes . each ( function isSetToComplete ( index , selectControl ) { if ( jQuery ( selectControl ) . val ( ) === "C" ) { complete = true ; return false ; } } ) ; return complete ; }
Determines if the Action Requested select control for Ad Hoc Recipients has a value of COMPLETE.
Determines if the Action Requested select control for Ad Hoc Recipients has a value of COMPLETE .