rice-framework/krad-web/src/main/webapp/krad/scripts/krad.utility.js
/**
 * Removes a class from the collection item related to the delete action
 *
 * @param deleteButton - the delete button that this event was triggered from
 * @param highlightItemClass - the class remove from the collection item
 */
Removes a class from the collection item related to the delete action

@param deleteButton - the delete button that this event was triggered from
@param highlightItemClass - the class remove from the collection item
Removes a class from the collection item related to the delete action @param deleteButton - the delete button that this event was triggered from @param highlightItemClass - the class remove from the collection item
function deleteLineMouseOut(deleteButton, highlightItemClass) {
    var innerLayout = jQuery(deleteButton).parents('.' + kradVariables.TABLE_COLLECTION_LAYOUT_CLASS
        + ', .' + kradVariables.STACKED_COLLECTION_LAYOUT_CLASS).first().attr('class');
    if (innerLayout) {
        if (innerLayout.indexOf(kradVariables.TABLE_COLLECTION_LAYOUT_CLASS) >= 0) {
            jQuery(deleteButton).closest('tr').removeClass(highlightItemClass);
        } else {
            jQuery(deleteButton).closest('.' + kradVariables.COLLECTION_ITEM_CLASS).removeClass(highlightItemClass);
        }
    }
}
function deleteLineMouseOut ( deleteButton , highlightItemClass ) { var innerLayout = jQuery ( deleteButton ) . parents ( '.' + kradVariables . TABLE_COLLECTION_LAYOUT_CLASS + ', .' + kradVariables . STACKED_COLLECTION_LAYOUT_CLASS ) . first ( ) . attr ( 'class' ) ; if ( innerLayout ) { if ( innerLayout . indexOf ( kradVariables . TABLE_COLLECTION_LAYOUT_CLASS ) >= 0 ) { jQuery ( deleteButton ) . closest ( 'tr' ) . removeClass ( highlightItemClass ) ; } else { jQuery ( deleteButton ) . closest ( '.' + kradVariables . COLLECTION_ITEM_CLASS ) . removeClass ( highlightItemClass ) ; } } }
Removes a class from the collection item related to the delete action
Removes a class from the collection item related to the delete action