rice-framework/krad-web/src/main/webapp/krad/scripts/krad.lookup.js
/**
 * Registers the onChange event on the input element inside of the lookup results collection
 * by updating the selection count depending on whether the checkbox has been checked or not
 *
 * @param selectControl  select control the change event occurred on
 */
Registers the onChange event on the input element inside of the lookup results collection
by updating the selection count depending on whether the checkbox has been checked or not

@param selectControl  select control the change event occurred on
Registers the onChange event on the input element inside of the lookup results collection by updating the selection count depending on whether the checkbox has been checked or not @param selectControl select control the change event occurred on
function updateSelectLineCount(selectControl) {
    input = jQuery(selectControl);
    var lookupResultsDiv = jQuery("#" + kradVariables.LOOKUP_COLLECTION_ID);
    var selectlinecount = lookupResultsDiv.data('selectedlinecount');
    if (input.attr('checked')) {
        lookupResultsDiv.data('selectedlinecount', selectlinecount + 1);
    } else if (selectlinecount > 0) {
        lookupResultsDiv.data('selectedlinecount', selectlinecount - 1);
    }
    setMultivalueLookupReturnButton("#" + kradVariables.LOOKUP_COLLECTION_ID);
}
function updateSelectLineCount ( selectControl ) { input = jQuery ( selectControl ) ; var lookupResultsDiv = jQuery ( "#" + kradVariables . LOOKUP_COLLECTION_ID ) ; var selectlinecount = lookupResultsDiv . data ( 'selectedlinecount' ) ; if ( input . attr ( 'checked' ) ) { lookupResultsDiv . data ( 'selectedlinecount' , selectlinecount + 1 ) ; } else if ( selectlinecount > 0 ) { lookupResultsDiv . data ( 'selectedlinecount' , selectlinecount - 1 ) ; } setMultivalueLookupReturnButton ( "#" + kradVariables . LOOKUP_COLLECTION_ID ) ; }
Registers the onChange event on the input element inside of the lookup results collection
 by updating the selection count depending on whether the checkbox has been checked or not
Registers the onChange event on the input element inside of the lookup results collection by updating the selection count depending on whether the checkbox has been checked or not
// Fetch current selectLineCount
