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 | |
/* | |
*custom/Extension/modules/Accounts/Ext/clients/base/filters/basic/FilerAccountTemplate.php | |
* Ajay Kumar | |
*/ | |
$viewdefs['Accounts']['base']['filter']['basic']['filters'][] = array( | |
'id' => 'FilterAccountTemplate', | |
'name' => 'LBL_FILTER_ACCOUNT_TEMPLATE', | |
'filter_definition' => array( | |
'name' => array( |
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
({ | |
/*Registering Button action for Keyboard shortcut | |
* Ajay Kumar | |
* custom/modules/Accounts/clients/base/views/record/reord.js | |
*/ | |
extendsFrom: 'RecordView', | |
initialize: function(options) { | |
this._super('initialize', [options]); | |
this.events = _.extend({}, this.events, { | |
'click a[name=test_button]': '_testAlert', |
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
/*custom/modules/Accounts/clients/base/layouts/record/record.js | |
* Ajay Kumar | |
*/ | |
({ | |
plugins: ['ShortcutSession'], | |
shortcuts: ['Sidebar:Toggle', 'Record:Edit', 'Record:Delete', 'Record:Save', 'Record:Cancel', 'Record:Previous', 'Record:Next', 'Record:Favorite', 'Record:Follow', 'Record:Copy', 'Record:Action:More', 'Record:Test'] | |
}) |
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
array( | |
'type'=>'rowaction', | |
'event'=>'button:check_button:click', | |
'name'=>'check_button', | |
'label'=>'LBL_CHECK_BUTTON_LABEL', | |
'acl_action'=>'view', | |
), |
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
({ | |
/*Disabling button ,condition based or dynamically on RecordView. | |
* AjayKumar | |
* custom/modules/Accounts/clients/base/views/record/reord.js | |
*/ | |
extendsFrom:'RecordView', | |
initialize:function(options){ | |
this._super('initialize',[options]); | |
this.on('render',this.makedisableButton,this); | |
}, |
NewerOlder