Changeset 1682 for trunk/contactcenter/js
- Timestamp:
- 11/19/09 14:29:30 (15 years ago)
- Location:
- trunk/contactcenter/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/contactcenter/js/cc.js
r1664 r1682 773 773 } 774 774 if(!haveConnections){ 775 showMessage( 'É nescessário informar o nome ou telefone!');775 showMessage(Element('cc_msg_tel_or_mail_required').value); 776 776 return false; 777 777 } -
trunk/contactcenter/js/ccQuickAdd-plugin.js
r1677 r1682 192 192 if (empty) return false; 193 193 194 if(this._fields[1].value=='') { 195 alert(Element('cc_msg_name_mandatory').value); 196 return false; 197 } 194 198 //Utiliza expressão regular para validar email 195 199 if (this._fields[4].value != '') { … … 203 207 } 204 208 else if(this._fields[3].value=='') { 205 alert( "Você precisa informar ou o e-mail ou o telefone");209 alert(Element('cc_msg_tel_or_mail_required').value); 206 210 return false; 207 211 }
Note: See TracChangeset
for help on using the changeset viewer.