[Vtigercrm-commits] [vtiger-commits] r6274 - /vtigercrm/trunk/modules/Calendar/script.js

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sun May 21 07:49:23 EDT 2006


Author: saraj
Date: Sun May 21 05:49:19 2006
New Revision: 6274

Log:
code added for recurring eventvalue

Modified:
    vtigercrm/trunk/modules/Calendar/script.js

Modified: vtigercrm/trunk/modules/Calendar/script.js
==============================================================================
--- vtigercrm/trunk/modules/Calendar/script.js (original)
+++ vtigercrm/trunk/modules/Calendar/script.js Sun May 21 05:49:19 2006
@@ -141,7 +141,6 @@
 function check_form()
 {
 	formSelectColumnString('inviteesid');
-
         if(document.appSave.subject.value == "")
         {
                 alert("Missing Event Name");
@@ -150,6 +149,18 @@
         }
         else
         {
+		if(document.appSave.remindercheck.checked == true)
+			document.appSave.set_reminder.value = 'Yes';
+		else
+			document.appSave.set_reminder.value = 'No';
+		if(document.appSave.recurringcheck.checked == false)
+		{
+			document.appSave.recurringtype.value = '--None--';
+		}
+		else
+		{
+			document.appSave.recurringtype.value = document.appSave.repeat_option.value;
+		}
 		starthour = document.appSave.starthr.value;
 		startmin  = document.appSave.startmin.value;
 		startformat = document.appSave.startfmt.value;





More information about the vtigercrm-commits mailing list