[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Summary view] [Print] [Text view]
1 /*+*********************************************************************************** 2 * The contents of this file are subject to the vtiger CRM Public License Version 1.0 3 * ("License"); You may not use this file except in compliance with the License 4 * The Original Code is: vtiger CRM Open Source 5 * The Initial Developer of the Original Code is vtiger. 6 * Portions created by vtiger are Copyright (C) vtiger. 7 * All Rights Reserved. 8 *************************************************************************************/ 9 10 Vtiger_Detail_Js("Potentials_Detail_Js",{},{ 11 12 detailViewRecentContactsLabel : 'Contacts', 13 detailViewRecentProductsTabLabel : 'Products', 14 15 /** 16 * Function which will register all the events 17 */ 18 registerEvents : function() { 19 this._super(); 20 var detailContentsHolder = this.getContentHolder(); 21 var thisInstance = this; 22 23 detailContentsHolder.on('click','.moreRecentContacts', function(){ 24 var recentContactsTab = thisInstance.getTabByLabel(thisInstance.detailViewRecentContactsLabel); 25 recentContactsTab.trigger('click'); 26 }); 27 28 detailContentsHolder.on('click','.moreRecentProducts', function(){ 29 var recentProductsTab = thisInstance.getTabByLabel(thisInstance.detailViewRecentProductsTabLabel); 30 recentProductsTab.trigger('click'); 31 }); 32 } 33 })
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |