[Vtigercrm-commits] [vtiger-commits] r10579 - in /vtigercrm/branches/5.0.3: Smarty/templates/EmailContents.tpl modules/Emails/Emails.js

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Apr 6 05:40:45 EDT 2007


Author: richie
Date: Fri Apr  6 03:40:19 2007
New Revision: 10579

Log:
* Fixed the issue because of single quote , Fixes #3446

Modified:
    vtigercrm/branches/5.0.3/Smarty/templates/EmailContents.tpl
    vtigercrm/branches/5.0.3/modules/Emails/Emails.js

Modified: vtigercrm/branches/5.0.3/Smarty/templates/EmailContents.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/EmailContents.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/EmailContents.tpl Fri Apr  6 03:40:19 2007
@@ -23,9 +23,9 @@
 				<td>
 				<span><input type="checkbox" name="selected_id" value= '{$id}' onClick=toggleSelectAll(this.name,"selectall")>
 				</span></td>
-				<td onClick="getEmailContents('{$id}'),setSubject('{$row.0}');" style="cursor:pointer;"><b>{$row.0}</b></td>
-				<td onClick="getEmailContents('{$id}'),setSubject('{$row.0}');" style="cursor:pointer;">{$row.1}</td>
-				<td onClick="getEmailContents('{$id}'),setSubject('{$row.0}');" style="cursor:pointer;">{$row.2}</td>
+				<td onClick="getEmailContents('{$id}');" style="cursor:pointer;"><b>{$row.0}</b></td>
+				<td onClick="getEmailContents('{$id}');" style="cursor:pointer;">{$row.1}</td>
+				<td onClick="getEmailContents('{$id}');" style="cursor:pointer;">{$row.2}</td>
 			        </tr>
 			{/foreach}
 		{else}

Modified: vtigercrm/branches/5.0.3/modules/Emails/Emails.js
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Emails/Emails.js (original)
+++ vtigercrm/branches/5.0.3/modules/Emails/Emails.js Fri Apr  6 03:40:19 2007
@@ -26,14 +26,6 @@
 		}
 	);
 
-}
-
-function setSubject(subject)
-{
-	if(getObj("subjectsetter"))
-	{
-		document.getElementById("subjectsetter").innerHTML=subject;
-	}
 }
 
 function getEmailContents(id)





More information about the vtigercrm-commits mailing list