Get CC search working for et2

This commit is contained in:
Nathan Gray 2012-06-06 17:16:29 +00:00
parent 6689578d52
commit 2bb8169ded

View File

@ -8,7 +8,7 @@ function add_email_from_ab(ab_id,info_cc)
if (!ab || !ab.value) if (!ab || !ab.value)
{ {
set_style_by_class('tr','hiddenRow','display','block'); jQuery("tr.hiddenRow").css("display", "block");
} }
else else
{ {
@ -21,7 +21,7 @@ function add_email_from_ab(ab_id,info_cc)
cc.value += (cc.value?', ':'')+ab.options[i].text.replace(/^.* <(.*)>$/,'$1'); cc.value += (cc.value?', ':'')+ab.options[i].text.replace(/^.* <(.*)>$/,'$1');
ab.value = ''; ab.value = '';
ab.onchange(); ab.onchange();
set_style_by_class('tr','hiddenRow','display','none'); jQuery("tr.hiddenRow").css("display", "none");
} }
} }
return false; return false;