[Vtigercrm-commits] [vtiger-commits] r10009 - /vtigercrm/branches/5.0.3/Smarty/templates/CreateEmailTemplate.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Jan 3 02:18:28 EST 2007


Author: richie
Date: Wed Jan  3 00:18:24 2007
New Revision: 10009

Log:
select option problem in email template creation - fixed

Modified:
    vtigercrm/branches/5.0.3/Smarty/templates/CreateEmailTemplate.tpl

Modified: vtigercrm/branches/5.0.3/Smarty/templates/CreateEmailTemplate.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/CreateEmailTemplate.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/CreateEmailTemplate.tpl Wed Jan  3 00:18:24 2007
@@ -24,7 +24,6 @@
     {ldelim}
         var selected = cause.options[cause.selectedIndex].value;  id="mergeFieldValue"
         var s = allOptions[cause.selectedIndex];
-            
         effect.length = s;
         for (var i = 0; i < s; i++) 
 	{ldelim}
@@ -39,7 +38,7 @@
         var allOpts = new Object(0);
         var options = null;
             
-	    options = new Object(19);
+	    options = new Object(10);
             options[0] = blankOption;
             
                 
@@ -72,7 +71,7 @@
             allOpts[2] = options;
         
             
-            options = new Object(19);
+            options = new Object(12);
             options[0] = blankOption;
             
                 
@@ -90,7 +89,7 @@
             
 	        allOpts[3] = options;
 
-	        options = new Object(19);
+	        options = new Object(14);
                 options[0] = blankOption;
             
                 options[1] = new Option('User: First Name', '$users-first_name$'); 
@@ -104,8 +103,8 @@
 		options[9] = new Option('User: Street', '$users-address_street$'); 
 		options[10] = new Option('User: City', '$users-address_city$'); 
 		options[11] = new Option('User: State', '$users-address_state$'); 
-		options[11] = new Option('User: Country', '$users-address_country$'); 
-		options[11] = new Option('User: PostalCode', '$users-address_postalcode$'); 
+		options[12] = new Option('User: Country', '$users-address_country$'); 
+		options[13] = new Option('User: PostalCode', '$users-address_postalcode$'); 
             
             	allOpts[4] = options;
 	    





More information about the vtigercrm-commits mailing list