public/js/user_management.js
//These following conditions are for number 4 (see above)
These following conditions are for number 4
These following conditions are for number 4
function parenttrap2(){
    for(ctr=0;ctr<psize;ctr++){
        if($('option.'+parents[ctr]+'child.choice').length!=0&&$('option.'+parents[ctr]+'parent.select').length!=0)
        {
            $('option.'+parents[ctr]+'parent.select').removeClass('select').addClass('choice').detach().appendTo('#from');
        }
    }
}
function parenttrap2 ( ) { for ( ctr = 0 ; ctr < psize ; ctr ++ ) { if ( $ ( 'option.' + parents [ ctr ] + 'child.choice' ) . length != 0 && $ ( 'option.' + parents [ ctr ] + 'parent.select' ) . length != 0 ) { $ ( 'option.' + parents [ ctr ] + 'parent.select' ) . removeClass ( 'select' ) . addClass ( 'choice' ) . detach ( ) . appendTo ( '#from' ) ; } } }
These following conditions are for number 4 (see above)
These following conditions are for number 4 ( see above )