From 2bb8169ded7a4034af5438013a65caf86c080f0c Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 6 Jun 2012 17:16:29 +0000 Subject: [PATCH] Get CC search working for et2 --- infolog/js/edit.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infolog/js/edit.js b/infolog/js/edit.js index 2104f2e080..a5441a21e4 100644 --- a/infolog/js/edit.js +++ b/infolog/js/edit.js @@ -8,7 +8,7 @@ function add_email_from_ab(ab_id,info_cc) if (!ab || !ab.value) { - set_style_by_class('tr','hiddenRow','display','block'); + jQuery("tr.hiddenRow").css("display", "block"); } else { @@ -21,7 +21,7 @@ function add_email_from_ab(ab_id,info_cc) cc.value += (cc.value?', ':'')+ab.options[i].text.replace(/^.* <(.*)>$/,'$1'); ab.value = ''; ab.onchange(); - set_style_by_class('tr','hiddenRow','display','none'); + jQuery("tr.hiddenRow").css("display", "none"); } } return false;