This file contains 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
({ | |
extendsFrom: 'SubpanelListView', | |
initialize: function (options) { | |
_.bindAll(this); | |
app.view.invokeParent(this, {type: 'view', name: 'recordlist', method: 'initialize', args:[options]}); | |
//app.view.invokeParent(this, {type: 'view', name: 'record', method: 'initialize', args:[options]}); |
This file contains 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
({ | |
extendsFrom: 'SubpanelListView', | |
initialize: function(options){ | |
this._super('initialize', [options]); | |
this.context.on('list:editrow:fire',this.drawerEditClicked, this); | |
}, | |
drawerEditClicked: function(model){ | |
console.log(model); | |
}, | |
_dispose: function() { |
This file contains 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
({ | |
extendsFrom: 'CreateActionsView', | |
initialize: function (options) { | |
this._super('initialize', [options]); | |
//add validation tasks | |
app.error.errorName2Keys['field_error'] = 'Invalid Email'; |
This file contains 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
APACHEUSER='bitnami:daemon' | |
SUGARPATH='/opt/bitnami/apps/sugarcrm/htdocs' | |
echo "Fixing permissions for sugarCRM" | |
find -P $SUGARPATH/ -type d -exec chmod 755 {} \; | |
find -P $SUGARPATH/ -type f -exec chmod 644 {} \; | |
find -P $SUGARPATH/ -name *.js -exec chmod 755 {} \; | |
chmod 664 $SUGARPATH/config.php | |
chmod 664 $SUGARPATH/config_override.php | |
chmod 664 $SUGARPATH/sugarcrm.log | |
find -P $SUGARPATH/cache -type d -exec chmod 775 {} \; |
This file contains 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
concat(related($pca_pack_com_ag_accounts,"name")," ",related($pca_pack_com_ag_accounts,"billing_address_city")," ",toString(concat(subStr(toString($v_date_visite),8,2),"/",subStr(toString($v_date_visite),5,2),"/",subStr(toString($v_date_visite),0,4)))) |
This file contains 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 | |
// created: 2016-03-08 14:50:30 | |
//attempt repair | |
$sq = new SugarQuery(); | |
$sq->select(array('id','name')); | |
$sq->from(BeanFactory::getBean('DP_actco')); | |
$result = $sq->execute(); |
This file contains 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 | |
if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); | |
require_once('include/entryPoint.php'); | |
require_once('modules/Administration/QuickRepairAndRebuild.php'); | |
class Visite_Hook | |
{ | |
function update_self($bean, $event, $arguments) | |
{ |
This file contains 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
({ extendsFrom: 'RecordView', // extendsFrom: 'CreateView', | |
myEvents: { | |
'focusin [name=ca_autocompl_c]': 'typeahead', | |
}, | |
initialize: function(options) { | |
this._super('initialize', [options]); |
OlderNewer