[ 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 Vtiger_Detail_Js("Portal_Detail_Js",{},{ 10 11 registerAddBookmark : function() { 12 jQuery('#addBookmark').click(function() { 13 var params = { 14 'module' : app.getModuleName(), 15 'parent' : app.getParentModuleName(), 16 'view' : 'EditAjax' 17 }; 18 Portal_List_Js.editBookmark(params); 19 }); 20 }, 21 22 registerDetailViewChangeEvent : function() { 23 jQuery('#bookmarksDropdown').change(function() { 24 var selectedBookmark = jQuery('#bookmarksDropdown').val(); 25 var progressIndicatorElement = jQuery.progressIndicator({ 26 'position' : 'html', 27 'blockInfo' : { 28 'enabled' : true 29 } 30 }); 31 var url = 'index.php?module='+app.getModuleName()+'&view=Detail&record='+selectedBookmark; 32 window.location.href = url; 33 }); 34 }, 35 36 registerEvents : function(){ 37 this._super(); 38 this.registerAddBookmark(); 39 this.registerDetailViewChangeEvent(); 40 } 41 });
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 |