Ignore:
Timestamp:
07/18/08 11:36:30 (16 years ago)
Author:
niltonneto
Message:

Alterações do Desenvolvedor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoAdmin1_2/js/jscode/users.js

    r309 r355  
    5656        } 
    5757 
     58        /* Validation cpf is in php now. 
     59        /* 
    5860        if (document.forms[0].corporative_information_cpf.value != "") 
    5961        { 
     
    7375                        return; 
    7476                } 
    75         } 
     77        }*/ 
    7678         
    7779        //MAIL 
     
    150152        } 
    151153 
    152         // Uid & Mail exist? 
     154        // Uid, Mail and CPF exist? 
    153155        var attrs_array = new Array(); 
    154156        attrs_array['type'] = type; 
    155157        attrs_array['uid'] = document.forms[0].uid.value; 
    156158        attrs_array['mail'] = document.forms[0].mail.value; 
     159        attrs_array['cpf'] = document.forms[0].corporative_information_cpf.value; 
     160         
    157161        if (document.forms[0].mailalternateaddress.value != '') 
    158162                attrs_array['mailalternateaddress'] = document.forms[0].mailalternateaddress.value; 
     
    165169                else 
    166170                { 
     171                        if ( (data.question) && (!confirm(data.question)) ) 
     172                        { 
     173                                return false; 
     174                        } 
     175 
    167176                        if (type == 'create_user') 
    168177                        { 
Note: See TracChangeset for help on using the changeset viewer.