[Vtigercrm-developers] (no subject)

Asha asha at vtiger.com
Tue Aug 25 21:17:00 PDT 2009


Hi Stefan,

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.

Trac Url - http://trac.vtiger.com

On 8/25/09, Paproth, Stefan <paproth at 4com.de> wrote:
>
>  Hi there,
>
>  I have the following problem:
>
> I’ve disabled the module "leads".  When selecting a campaign (
> “Marketing”->"Campaigns"),choosing "More Informations" and then trying to
> load a list by clicking on the button “Load List” the following JavaScript
> Error occurs.:
>
> $("lead_cv_list") is undefined
>
>
>
> The attached patch should fix the problem. Could you integrate the patch
> into the next vtiger release?
>
>
>
> best regards
>
> Stefan
>
>
>
>
>
> File can be found under "Smarty/templates"
>
>
>
>
>
> --- RelatedLists.tpl_BA 2009-08-25 14:44:55.000000000 +0200
> +++ RelatedLists.tpl    2009-08-25 14:47:00.000000000 +0200
> @@ -52,11 +52,9 @@
>
>  function loadCvList(type,id)
>  {ldelim}
> -        if($("lead_cv_list").value != 'None' || $("cont_cv_list").value !=
> 'None')
> -        {ldelim}
> -               $("status").style.display="inline";
> -               if(type === 'Leads')
> +               if(type === 'Leads' && $("lead_cv_list").value != 'None')
>                 {ldelim}
> +               $("status").style.display="inline";
>                          new Ajax.Request(
>                          'index.php',
>                          {ldelim}queue: {ldelim}position: 'end', scope:
> 'command'{rdelim},
> @@ -70,8 +68,9 @@
>                         );
>                 {rdelim}
>
> -               if(type === 'Contacts')
> +               if(type === 'Contacts' || $("cont_cv_list").value !=
> 'None')
>                 {ldelim}
> +               $("status").style.display="inline";
>                          new Ajax.Request(
>                          'index.php',
>                          {ldelim}queue: {ldelim}position: 'end', scope:
> 'command'{rdelim},
> @@ -84,7 +83,6 @@
>                          {rdelim}
>                         );
>                 {rdelim}
> -        {rdelim}
>  {rdelim}
>  </script>
>         {include file='Buttons_List1.tpl'}
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Reach hundreds of potential candidates - http://jobs.vtiger.com
>



-- 
Regards,
Asha
vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20090826/f273b80d/attachment-0003.html 


More information about the vtigercrm-developers mailing list