[Vtigercrm-commits] [vtiger-commits] r9665 - /vtigercrm/branches/5.0.2/Smarty/templates/ListRoles.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Oct 19 09:22:21 EDT 2006
Author: richie
Date: Thu Oct 19 07:21:50 2006
New Revision: 9665
Log:
* Modified to display the plus and minus images in list roles, Fixes #1159
Modified:
vtigercrm/branches/5.0.2/Smarty/templates/ListRoles.tpl
Modified: vtigercrm/branches/5.0.2/Smarty/templates/ListRoles.tpl
==============================================================================
--- vtigercrm/branches/5.0.2/Smarty/templates/ListRoles.tpl (original)
+++ vtigercrm/branches/5.0.2/Smarty/templates/ListRoles.tpl Thu Oct 19 07:21:50 2006
@@ -247,21 +247,21 @@
function showhide(argg,imgId)
{ldelim}
var harray=argg.split(",");
- var harrlen = harray.length;
+ var harrlen = harray.length;
var i;
for(i=0; i<harrlen; i++)
{ldelim}
- var x=document.getElementById(harray[i]).style;
+ var x=document.getElementById(harray[i]).style;
if (x.display=="none")
{ldelim}
- x.display="block";
- //document.all[imgId].src = "{$IMAGE_PATH}minus.gif"; By Ela
- {rdelim}
+ x.display="block";
+ document.getElementById(imgId).src="{$IMAGE_PATH}minus.gif";
+ {rdelim}
else
- {ldelim}
- x.display="none";
- //document.all[imgId].src = "{$IMAGE_PATH}plus.gif"; By Ela
- {rdelim}
+ {ldelim}
+ x.display="none";
+ document.getElementById(imgId).src="{$IMAGE_PATH}plus.gif";
+ {rdelim}
{rdelim}
{rdelim}
More information about the vtigercrm-commits
mailing list