Changeset 4142 for branches/2.2/contactcenter
- Timestamp:
- 04/26/11 14:18:05 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/contactcenter/js/cc_full_search.js
r3628 r4142 80 80 data['fields'] = new Array(); 81 81 82 data['search_for'] = Element('ccSearchInp0').value; 83 84 var invalidChars = /[\%\?]/; 82 data['search_for'] = Element('ccSearchInp0').value + " " 83 + Element('ccSearchInp1').value + " " 84 + Element('ccSearchInp2').value + " " 85 + Element('ccSearchInp3').value + " "; 86 var invalidChars = /[\%\?]/; 85 87 if(invalidChars.test(data['search_for']) || invalidChars.test(data['search_for_area'])){ 86 88 showMessage(Element('cc_msg_err_invalid_serch').value); … … 104 106 return; 105 107 } 106 108 109 if (Element('ccSearchInp0').value == "") 110 data['search_for'] = ""; 111 107 112 if (type=='groups') { 108 113 data['fields']['id'] = 'group.id_group';
Note: See TracChangeset
for help on using the changeset viewer.