[Vtigercrm-commits] [vtiger-commits] r10298 - /vtigercrm/branches/5.0.3/Smarty/templates/Webmails.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Mar 1 10:37:48 EST 2007
Author: richie
Date: Thu Mar 1 08:37:43 2007
New Revision: 10298
Log:
can move to and fro any mail also fixes the focus on the mail that has been selected for study
Modified:
vtigercrm/branches/5.0.3/Smarty/templates/Webmails.tpl
Modified: vtigercrm/branches/5.0.3/Smarty/templates/Webmails.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/Webmails.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/Webmails.tpl Thu Mar 1 08:37:43 2007
@@ -236,5 +236,21 @@
{rdelim}
openPopUp('xComposeEmail',this,url,'createemailWin',830,662,'menubar=no,toolbar=no,location=no,status=no,resizable=yes,scrollbars=yes');
{rdelim}
+var gselected_mail = '';
+{if $smarty.request.mailbox.value neq ''}
+var gCurrentFolder = '{$smarty.request.mailbox}';
+{else}
+var gCurrentFolder = 'INBOX';
+{/if}
+{literal}
+function makeSelected(rowId)
+{
+ if(gselected_mail != '')
+ $(gselected_mail).className = '';
+
+ $(rowId).className = 'tabSelected';
+ gselected_mail = rowId;
+}
+{/literal}
</script>
<!-- END -->
More information about the vtigercrm-commits
mailing list