This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
/* File: ./custom/modules/Accounts/clients/base/views/preview/preview.js */ | |
extendsFrom: 'PreviewView', | |
_renderPreview: function(model, collection, fetch, previewId){ | |
var self = this; | |
// If there are drawers there could be multiple previews, make sure we are only rendering preview for active drawer | |
if(app.drawer && !app.drawer.isActive(this.$el)){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
/* File: ./custom/clients/base/views/record/record.js */ | |
extendsFrom: 'RecordView', | |
_render: function(){ | |
var self = this; | |
this._super('_render'); | |
_.each(this.noEditFields, function(field){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
/* File: ./custom/modules/Leads/clients/base/views/record/record.js */ | |
extendsFrom: 'RecordView', | |
initialize: function(options) { | |
this._super('initialize', [options]); | |
this.model.on('data:sync:complete', this.showAlert, this); | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
/* File: ./custom/modules/<Module>/clients/base/views/record/record.js */ | |
extendsFrom: 'RecordView', | |
initialize: function(options){ | |
/* Check if related module has records linked to current record | |
* You need the "link" field name from vardefs for the specific | |
* subpanel you wish to check. | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
/* File: ./custom/modules/<Module>/clients/base/views/record/record.js */ | |
extendsFrom: 'RecordView', | |
initialize: function(options){ | |
/* Check if related module has records linked to current record and meet a specific criteria (filter) | |
* You need the "link" field name from vardefs for the specific | |
* subpanel you wish to check. | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
/* File: ./custom/modules/Accounts/clients/base/views/record/record.js */ | |
extendsFrom: 'RecordView', | |
initialize: function(options){ | |
this._super('initialize', [options]); | |
this.model.on('data:sync:complete', this.styleType, this); | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* File: ./custom/include/externalAPI/Marketo/LogicHookController.php */ | |
/* | |
* Copyright (c) 2014-2015 SugarCRM Inc. This product is licensed by SugarCRM | |
* pursuant to the terms of the End User License Agreement available at | |
* http://support.sugarcrm.com/06_Customer_Center/10_Master_Subscription_Agreements/10_Marketo/ | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* SugarCRM v7 REST API Wrapper | |
* | |
* Date: May 13, 2014 | |
* | |
* Author: Angel Magaña | |
* | |
* Contact: cheleguanaco[at]cheleguanaco.com | |
* cheleguanaco.com | |
* | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* File: ./custom/Extension/modules/<Module>/Ext/Vardefs */ | |
$dictionary['Account']['activity_enabled'] = false; | |
?> |