Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AdamActivity.prototype.customContextMenuActions = function() {
- return [{
- name: 'CAPITALIZE_NAME',
- text: 'Capitalize Record Name'
- }]
- };
- AdamActivity.prototype.customGetAction = function(type, w) {
- switch (type) {
- case 'CAPITALIZE_NAME':
- var actionText = 'Capitalize the Record Name (Action)';
- var actionCSS = 'adam-menu-icon-configure';
- var disabled = false;
- return {
- actionText: actionText,
- actionCSS: actionCSS,
- disabled: disabled
- }
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement