Ignore:
Timestamp:
11/10/09 11:03:46 (14 years ago)
Author:
eduardoalex
Message:

Ticket #723 - Ajustado o tamanho maximo do telefone para 30 e adicionado regex para formatar o telefone

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/contactcenter/js/ccAux.js

    r1411 r1612  
    413413} 
    414414 
     415function formatPhone(obj){ 
     416        if (!Element("cc_conn_type_1").checked) { 
     417                obj.value = obj.value.replace(/[^\-\d\+\(\)\sx]/g, ""); 
     418        }   
     419} 
     420 
     421 
    415422/***********************************************\ 
    416423*                   CONSTANTS                   * 
Note: See TracChangeset for help on using the changeset viewer.