Changeset 7052 for trunk/expressoMail1_2/js/draw_api.js
- Timestamp:
- 08/17/12 14:39:31 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/draw_api.js
r7045 r7052 3083 3083 { 3084 3084 toaddress_array[ID] = break_comma(info_msg.toaddress2); 3085 var notValidUser = false; 3085 3086 if (toaddress_array[ID].length > 1) 3086 3087 { … … 3099 3100 } else { 3100 3101 toAdd = get_lang("without destination"); 3101 } 3102 3103 to.innerHTML += draw_plugin_cc(ID,toAdd); 3102 notValidUser = true; 3103 } 3104 3105 to.innerHTML += draw_plugin_cc(ID,toAdd, notValidUser, notValidUser); 3104 3106 } 3105 3107 … … 5300 5302 var idx_cc = 0; 5301 5303 5302 function draw_plugin_cc(ID, addrs ){5304 function draw_plugin_cc(ID, addrs, notValidUser){ 5303 5305 connector.loadScript("ccQuickAdd"); 5304 5306 … … 5334 5336 }); 5335 5337 onclick = onclick.substr(0, onclick.length-1); 5336 var sm_envelope_img1 = '<img style="cursor:'+ (is_ie ? 'hand' : 'pointer') +'" title="' + get_lang("Add Contact") + 5337 '" onclick="ccQuickAddOne.showList(['+onclick+'])" src="./templates/'+template+'/images/user_card.png">'; 5338 5338 5339 var to_addybook_add = "<SPAN id='insert_plugin_"+idx_cc+"_"+ID+"'>"; 5339 5340 to_addybook_add += addrs; 5340 to_addybook_add += sm_envelope_img1; 5341 5342 if(!!!notValidUser) 5343 { 5344 var sm_envelope_img1 = '<img style="cursor:'+ (is_ie ? 'hand' : 'pointer') +'" title="' + get_lang("Add Contact") + 5345 '" onclick="ccQuickAddOne.showList(['+onclick+'])" src="./templates/'+template+'/images/user_card.png">'; 5346 to_addybook_add += sm_envelope_img1; 5347 } 5348 5349 5341 5350 idx_cc++; 5342 5351 to_addybook_add += "</SPAN>";
Note: See TracChangeset
for help on using the changeset viewer.