[Vtigercrm-commits] [vtiger-commits] r10898 - in /vtigercrm/branches/5.0.3: Smarty/templates/RelatedListsHidden.tpl include/js/general.js

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon May 14 01:22:13 EDT 2007


Author: richie
Date: Sun May 13 23:22:05 2007
New Revision: 10898

Log:
fix for Ie-> Issue on Related Lists of Campaigns. Fixes #3687 --minnie

Modified:
    vtigercrm/branches/5.0.3/Smarty/templates/RelatedListsHidden.tpl
    vtigercrm/branches/5.0.3/include/js/general.js

Modified: vtigercrm/branches/5.0.3/Smarty/templates/RelatedListsHidden.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/RelatedListsHidden.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/RelatedListsHidden.tpl Sun May 13 23:22:05 2007
@@ -16,6 +16,7 @@
 <input type="hidden" name="module">
 <input type="hidden" name="mode">
 <input type="hidden" name="return_module" id="return_module" value="{$MODULE}">
+<input type="hidden" name="RLreturn_module" id="RLreturn_module" value="{$MODULE}">
 {if $SinglePane_View eq 'true'}
 	<input type="hidden" name="return_action" value="DetailView">
 {else}
@@ -23,6 +24,7 @@
 {/if}
 <input type="hidden" name="return_id" value="{$ID}">
 <input type="hidden" name="parent_id" id="parent_id" value="{$ID}">
+<input type="hidden" name="RLparent_id" id="RLparent_id" value="{$ID}">
 <input type="hidden" name="parenttab" id="parenttab" value="{$CATEGORY}">
 <input type="hidden" name="action">
 {if $MODULE eq 'Calendar'}

Modified: vtigercrm/branches/5.0.3/include/js/general.js
==============================================================================
--- vtigercrm/branches/5.0.3/include/js/general.js (original)
+++ vtigercrm/branches/5.0.3/include/js/general.js Sun May 13 23:22:05 2007
@@ -1669,8 +1669,8 @@
 	var y=0;
 	if(parmod != 'Calendar')
         {
-                var module = window.opener.document.getElementById('return_module').value
-                var entity_id = window.opener.document.getElementById('parent_id').value
+                var module = window.opener.document.getElementById('RLreturn_module').value
+                var entity_id = window.opener.document.getElementById('RLparent_id').value
         }
         idstring = "";
 	namestr = "";





More information about the vtigercrm-commits mailing list