Hi Stefan,<br><br>Thanks for your contribution. As Joe pointed out, the best place to provide the code contributions would be on trac. Please file a ticket on trac (of type patch) and provide the solution, so that it is available for users whenever they need even before the next release.<br>
<br><span style="font-weight: bold;">Trac Url</span> - <a href="http://trac.vtiger.com">http://trac.vtiger.com</a><br><br><div><span class="gmail_quote">On 8/25/09, <b class="gmail_sendername">Paproth, Stefan</b> <<a href="mailto:paproth@4com.de">paproth@4com.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div><span style="font-size: 12pt;" lang="EN-GB"><font face="Arial"><font size="2">Hi
there,</font></font></span></div>
<div>
<p><span style="font-size: 12pt;" lang="EN-GB"><font face="Arial" size="2"></font></span></p></div>
<div>
<p><font color="#000000"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-GB">I have the </span><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">following
problem:</span><span lang="EN-GB"></span></font></p></div>
<div>
<p><font color="#000000"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-GB">I’ve disabled
the</span><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">
modul<span style="color: navy;">e</span> "leads"<span style="color: navy;">.
</span> <span style="color: navy;">When selecting a campaign (</span> <span style="color: navy;">“Marketing”-></span>"Campaigns"<span style="color: navy;">),choosing</span> "More Informations"<span style="color: navy;"> and then trying to load a list by clicking on the button
“Load List” the following JavaScript Error
occurs.:</span></span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-GB"></span></font></p>
<p><font face="Arial"><font size="2"><span><span style="font-size: 12pt;" lang="EN-GB">$("lead_cv_list") is
undefined</span></span><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-GB"></span></font></font></p>
<p><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-GB"><font color="#000000"> </font></span></p></div>
<div>
<p><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">The attached patch <font color="#000000"><span style="color: navy;">should</span> fix the problem<span style="color: navy;">. Could you integrate the patch into the next vtiger
release?</span></font></span><span lang="EN-GB"></span></p></div>
<div>
<p><span style="font-size: 12pt;" lang="EN-GB"><font face="Arial"><font size="2"> </font></font></span></p></div>
<div>
<p><span style="font-size: 10pt; font-family: Arial;">best
regards </span></p>
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"><font color="#000000">Stefan</font></span></p></div>
<div>
<p><span style="font-size: 12pt;"><font face="Arial"> </font></span></p></div>
<div>
<p><span style="font-size: 12pt;"><font face="Arial"><font size="2"> </font></font></span></p></div>
<div>
<p><span style="font-size: 10pt; font-family: Arial;">File can be
found under "Smarty/templates"</span></p></div>
<div>
<p><span style="font-size: 12pt;"><font face="Arial"><font size="2"> </font></font></span></p></div>
<div>
<p><span style="font-size: 12pt;"><font face="Arial"><font size="2"> </font></font></span></p></div>
<div>
<p><span style="font-size: 10pt; font-family: Arial;">---
RelatedLists.tpl_BA 2009-08-25 14:44:55.000000000 +0200<br>+++
RelatedLists.tpl 2009-08-25 14:47:00.000000000 +0200<br>@@
-52,11 +52,9 @@<br> <br> function
loadCvList(type,id)<br> {ldelim}<br>-
if($("lead_cv_list").value != 'None' || $("cont_cv_list").value !=
'None')<br>-
{ldelim}<br>-
$("status").style.display="inline";<br>-
if(type ===
'Leads')<br>+
if(type === 'Leads' && $("lead_cv_list").value !=
'None')<br>
{ldelim}<br>+
$("status").style.display="inline";<br>
new
Ajax.Request(<br>
'index.php',<br>
{ldelim}queue: {ldelim}position: 'end', scope: 'command'{rdelim},<br>@@ -70,8
+68,9
@@<br>
);<br>
{rdelim}<br> <br>-
if(type ===
'Contacts')<br>+
if(type === 'Contacts' || $("cont_cv_list").value !=
'None')<br>
{ldelim}<br>+
$("status").style.display="inline";<br>
new
Ajax.Request(<br>
'index.php',<br>
{ldelim}queue: {ldelim}position: 'end', scope: 'command'{rdelim},<br>@@ -84,7
+83,6
@@<br>
{rdelim}<br>
);<br>
{rdelim}<br>-
{rdelim}<br> {rdelim}<br> </script><br>
{include file='Buttons_List1.tpl'}</span></p></div>
<div>
<p><span style="font-size: 12pt;"><font face="Arial"><font size="2"> </font></font></span></p></div>
<div>
<p><span style="font-size: 12pt;"><font face="Arial"><font size="2"> </font></font></span></p></div>
<div>
<p><span style="font-size: 12pt;"><font face="Arial"><font size="2"> </font></font></span></p></div>
<div><font face="Arial" size="2"></font> </div>
<div align="left"><font face="Arial" size="2"></font> </div></div>
<br>_______________________________________________<br>
Reach hundreds of potential candidates - <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://jobs.vtiger.com" target="_blank">http://jobs.vtiger.com</a> <br></blockquote></div><br><br clear="all"><br>-- <br>
Regards,<br>Asha<br>vtiger Team