[Vtigercrm-commits] [vtiger development] #6450: Existence of UIType 52 and 53 could cause form field clashes

vtiger development vtiger-tickets at trac.vtiger.com
Tue Dec 1 14:10:39 EST 2009


#6450: Existence of UIType 52 and 53 could cause form field clashes
-------------------------+--------------------------------------------------
  Reporter:  prasad      |       Owner:  developer
      Type:  defect      |      Status:  new      
  Priority:  unassigned  |   Milestone:  5.2.0    
 Component:  vtigercrm   |     Version:  5.1.0    
Resolution:              |    Keywords:           
-------------------------+--------------------------------------------------
Comment (by prasad):

 WORKAROUND: (please make sure to test it completely)

 File: Smarty/templates/EditViewUI.tpl
 {{{
 {elseif $uitype eq 52 || $uitype eq 77}
 ...
     {if $uitype eq 52}
         <select name="assigned_user_id" class="small">
     {elseif $uitype eq 77}
         <select name="assigned_user_id1" tabindex="{$vt_tab}"
 class="small">
     {else}
         <select name="{$fldname}" tabindex="{$vt_tab}" class="small">
     {/if}
 ...
 }}}

 Replace the if ... elseif ... else as shown
 {{{
 {elseif $uitype eq 52 || $uitype eq 77}
 ...
     <select name="{$fldname}" tabindex="{$vt_tab}" class="small">
 ...
 }}}

 Similarly, under {elseif $uitype eq 53}

 {{{
 <select name="assigned_user_id" class="small">
 }}}

 Should be:

 {{{
 <select name="{$fldname}" class="small">
 }}}

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6450#comment:1>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list