Changeset 57 for trunk/contactcenter/js
- Timestamp:
- 08/20/07 17:12:03 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/contactcenter/js/ccIEContacts.js
r16 r57 149 149 { 150 150 var form = document.formCSV; 151 152 151 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")){ 154 153 alert('Selecione um arquivo CSV válido para importar seus contatos.'); 155 154 return;
Note: See TracChangeset
for help on using the changeset viewer.