Changeset 57 for trunk/contactcenter/js


Ignore:
Timestamp:
08/20/07 17:12:03 (17 years ago)
Author:
niltonneto
Message:

* empty log message *

File:
1 edited

Legend:

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

    r16 r57  
    149149        {                
    150150                var form = document.formCSV; 
    151                  
    152151                if ((form.import_file.value.length < 10) ||  
    153                 (form.import_file.value.substring(form.import_file.value.length - 4, form.import_file.value.length) != ".csv")){ 
     152                (form.import_file.value.substring(form.import_file.value.length - 4, form.import_file.value.length).toLowerCase() != ".csv")){ 
    154153                        alert('Selecione um arquivo CSV válido para importar seus contatos.'); 
    155154                        return; 
Note: See TracChangeset for help on using the changeset viewer.