[Vtigercrm-commits] [vtiger-commits] r3922 - /vtigercrm/trunk/modules/Potentials/Opportunity.js
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Feb 24 07:34:42 EST 2006
Author: saraj
Date: Fri Feb 24 05:34:34 2006
New Revision: 3922
Log:
* func set_return_specific changed to generic
Modified:
vtigercrm/trunk/modules/Potentials/Opportunity.js
Modified: vtigercrm/trunk/modules/Potentials/Opportunity.js
==============================================================================
--- vtigercrm/trunk/modules/Potentials/Opportunity.js (original)
+++ vtigercrm/trunk/modules/Potentials/Opportunity.js Fri Feb 24 05:34:34 2006
@@ -75,8 +75,14 @@
window.opener.document.EditView.parent_id.value = product_id;
}
function set_return_specific(product_id, product_name) {
- window.opener.document.EditView.potential_name.value = product_name;
- window.opener.document.EditView.potential_id.value = product_id;
+
+ //getOpenerObj used for DetailView
+ var fldName = getOpenerObj("potential_name");
+ var fldId = getOpenerObj("potential_id");
+ fldName.value = product_name;
+ fldId.value = product_id;
+ //window.opener.document.EditView.potential_name.value = product_name;
+ //window.opener.document.EditView.potential_id.value = product_id;
}
function add_data_to_relatedlist(entity_id,recordid)
{
More information about the vtigercrm-commits
mailing list