[Vtigercrm-commits] [vtiger-commits] r6664 - in /vtigercrm/trunk: include/js/general.js modules/Emails/Email.js
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon May 29 06:27:01 EDT 2006
Author: don
Date: Mon May 29 04:26:55 2006
New Revision: 6664
Log:
opencompose function moved to general.js file from email.js
Modified:
vtigercrm/trunk/include/js/general.js
vtigercrm/trunk/modules/Emails/Email.js
Modified: vtigercrm/trunk/include/js/general.js
==============================================================================
--- vtigercrm/trunk/include/js/general.js (original)
+++ vtigercrm/trunk/include/js/general.js Mon May 29 04:26:55 2006
@@ -1595,3 +1595,21 @@
function fnHide_Event(obj){
document.getElementById(obj).style.display = 'none';
}
+
+function OpenCompose(id,mode)
+{
+ switch(mode)
+ {
+ case 'edit':
+ url = 'index.php?module=Emails&action=EmailsAjax&file=EditView&record='+id;
+ break;
+ case 'create':
+ url = 'index.php?module=Emails&action=EmailsAjax&file=EditView';
+ break;
+ case 'forward':
+ url = 'index.php?module=Emails&action=EmailsAjax&file=EditView&record='+id+'&forward=true';
+ break;
+ }
+ openPopUp('xComposeEmail',this,url,'createemailWin',820,652,'menubar=no,toolbar=no,location=no,status=no,resizable=no');
+}
+
Modified: vtigercrm/trunk/modules/Emails/Email.js
==============================================================================
--- vtigercrm/trunk/modules/Emails/Email.js (original)
+++ vtigercrm/trunk/modules/Emails/Email.js Mon May 29 04:26:55 2006
@@ -103,20 +103,3 @@
ajaxObj.process("index.php?",urlstring);
}
-function OpenCompose(id,mode)
-{
- switch(mode)
- {
- case 'edit':
- url = 'index.php?module=Emails&action=EmailsAjax&file=EditView&record='+id;
- break;
- case 'create':
- url = 'index.php?module=Emails&action=EmailsAjax&file=EditView';
- break;
- case 'forward':
- url = 'index.php?module=Emails&action=EmailsAjax&file=EditView&record='+id+'&forward=true';
- break;
- }
- openPopUp('xComposeEmail',this,url,'createemailWin',820,652,'menubar=no,toolbar=no,location=no,status=no,resizable=no');
-}
-
More information about the vtigercrm-commits
mailing list