Changeset 6475
- Timestamp:
- 06/13/12 12:44:16 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/expressoMail1_2/js/QuickCatalogSearch.js
r6290 r6475 166 166 var extra_fields = []; 167 167 } 168 if(preferences.default_fields_quick_search != 0 || data_[id_contact].type_contact == "P" ) {168 if(preferences.default_fields_quick_search != 0 || data_[id_contact].type_contact == "P" || data_[id_contact].type_contact == "G") { 169 169 if(utf8_decoder(data_[id_contact].cn) == 'undefined') 170 170 details.append('<p><label class="attribute">' + utf8_decoder(data_[id_contact].title) + '</label>' + '<span class="value">' + data_[id_contact].short_name + '</span></p>'); … … 334 334 }else 335 335 var extra_fields = []; 336 if(preferences.default_fields_quick_search != 0 || data[first_contact].type_contact == "P" ) {336 if(preferences.default_fields_quick_search != 0 || data[first_contact].type_contact == "P" || data[first_contact].type_contact == "G") { 337 337 if(utf8_decoder(data[first_contact].cn) != 'undefined') 338 338 details.append('<p><label class="attribute">' + utf8_decoder(data[first_contact].cn) + '</label>' + '<span class="value">' + data[first_contact].mail + '</span></p>'); … … 418 418 else 419 419 var extra_fields = []; 420 if(preferences.default_fields_quick_search != 0 || data[this.value].type_contact == "P" ) {420 if(preferences.default_fields_quick_search != 0 || data[this.value].type_contact == "P" || data[this.value].type_contact == "G") { 421 421 if(utf8_decoder(data[this.value].cn) == 'undefined') 422 422 details.append('<p><label class="attribute">' + utf8_decoder(data[this.value].title) + "</label>" + '<span class="value">' + data[this.value].short_name + "</span></p>");
Note: See TracChangeset
for help on using the changeset viewer.