- Timestamp:
- 11/23/11 10:26:16 (12 years ago)
- Location:
- trunk/expressoMail1_2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.ldap_functions.inc.php
r5172 r5196 258 258 function quicksearchcontact($params) 259 259 { 260 if($params['Type'] != "undefined"){ 261 return $this->quickSearch($params); 262 } 260 263 $modal = false; 261 264 if($params['catalog']) -
trunk/expressoMail1_2/js/common_functions.js
r5172 r5196 540 540 } 541 541 542 function emQuickSearch(emailList, field, ID ){542 function emQuickSearch(emailList, field, ID, Type){ 543 543 var quickSearchKeyBegin; 544 544 var quickSearchKeyEnd; … … 551 551 connector.loadScript("QuickCatalogSearch"); 552 552 if (typeof(QuickCatalogSearch) == 'undefined'){ 553 setTimeout('emQuickSearch("'+emailList+'", "'+field+'", "'+ID+'" )',500);553 setTimeout('emQuickSearch("'+emailList+'", "'+field+'", "'+ID+'", "'+Type+'")',500); 554 554 return false; 555 555 } … … 559 559 connector.loadScript("QuickSearchUser"); 560 560 if (typeof(QuickSearchUser) == 'undefined'){ 561 setTimeout('emQuickSearch("'+emailList+'", "'+field+'", "'+ID+'" )',500);561 setTimeout('emQuickSearch("'+emailList+'", "'+field+'", "'+ID+'", "'+Type+'")',500); 562 562 return false; 563 563 } … … 611 611 return false; 612 612 } 613 614 cExecute ("$this.ldap_functions.quicksearchcontact&search_for="+search_for+"&field="+field+"&ID="+ID, handler_emQuickSearch); 613 if(Type === 'undefined') 614 cExecute ("$this.ldap_functions.quicksearchcontact&search_for="+search_for+"&field="+field+"&ID="+ID, handler_emQuickSearch); 615 else 616 cExecute ("$this.ldap_functions.quicksearchcontact&search_for="+search_for+"&field="+field+"&ID="+ID+"&Type="+Type, handler_emQuickSearch); 615 617 } 616 618 -
trunk/expressoMail1_2/templates/default/index.tpl
r5172 r5196 25 25 <a style="padding:1 8px; width:16px; height:16px; background: url(templates/default/images/search.gif) no-repeat center; margin: 0 3px;" class="" onMouseOut="window.status='';return true;" title='{lang_Open_Search_Window}' onMouseOver="window.status='{lang_Open_Search_Window}';return true;" href="javascript:void(0);" onClick="javascript:search_emails(Element('em_message_search').value)"></a> 26 26 27 <a style="padding:1 8px; width:16px; height:16px; background: url(templates/default/images/users.gif) no-repeat center;" class="" onMouseOut="window.status='';return true;" title='{lang_search_user}' onMouseOver="window.status='{lang_search_user}' ;return true;" href="javascript:void(0);" onClick="javascript:emQuickSearch(Element('em_message_search').value, 'null', 'null' )"></a>27 <a style="padding:1 8px; width:16px; height:16px; background: url(templates/default/images/users.gif) no-repeat center;" class="" onMouseOut="window.status='';return true;" title='{lang_search_user}' onMouseOver="window.status='{lang_search_user}' ;return true;" href="javascript:void(0);" onClick="javascript:emQuickSearch(Element('em_message_search').value, 'null', 'null', 'expressoMail')"></a> 28 28 </td> 29 29 </tr>
Note: See TracChangeset
for help on using the changeset viewer.