Changeset 7078
- Timestamp:
- 08/21/12 14:29:48 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/expressoMail1_2/js/draw_api.js
r7073 r7078 2858 2858 { 2859 2859 toaddress_array[ID] = break_comma(info_msg.toaddress2); 2860 var notValidUser = false; 2860 2861 2861 2862 if (toaddress_array[ID].length > 1) … … 2875 2876 } else { 2876 2877 toAdd = get_lang("without destination"); 2877 } 2878 2879 to.innerHTML += draw_plugin_cc(ID,toAdd); 2878 notValidUser = true; 2879 } 2880 2881 to.innerHTML += draw_plugin_cc(ID,toAdd, notValidUser, notValidUser); 2880 2882 } 2881 2883 … … 4960 4962 var idx_cc = 0; 4961 4963 4962 function draw_plugin_cc(ID, addrs ){4964 function draw_plugin_cc(ID, addrs, notValidUser){ 4963 4965 connector.loadScript("ccQuickAdd"); 4964 4966 … … 4994 4996 }); 4995 4997 onclick = onclick.substr(0, onclick.length-1); 4996 var sm_envelope_img1 = '<img style="cursor:'+ (is_ie ? 'hand' : 'pointer') +'" title="' + get_lang("Add Contact") + 4997 '" onclick="ccQuickAddOne.showList(['+onclick+'])" src="./templates/'+template+'/images/user_card.png">'; 4998 4998 4999 var to_addybook_add = "<SPAN id='insert_plugin_"+idx_cc+"_"+ID+"'>"; 4999 5000 to_addybook_add += addrs; 5000 to_addybook_add += sm_envelope_img1; 5001 5002 if(!!!notValidUser) 5003 { 5004 var sm_envelope_img1 = '<img style="cursor:'+ (is_ie ? 'hand' : 'pointer') +'" title="' + get_lang("Add Contact") + 5005 '" onclick="ccQuickAddOne.showList(['+onclick+'])" src="./templates/'+template+'/images/user_card.png">'; 5006 to_addybook_add += sm_envelope_img1; 5007 } 5008 5009 5001 5010 idx_cc++; 5002 5011 to_addybook_add += "</SPAN>";
Note: See TracChangeset
for help on using the changeset viewer.