Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. AdamActivity.prototype.customContextMenuActions = function() {
  2. return [{
  3. name: 'CAPITALIZE_NAME',
  4. text: 'Capitalize Record Name'
  5. }]
  6. };
  7.  
  8. AdamActivity.prototype.customGetAction = function(type, w) {
  9. switch (type) {
  10. case 'CAPITALIZE_NAME':
  11. var actionText = 'Capitalize the Record Name (Action)';
  12. var actionCSS = 'adam-menu-icon-configure';
  13. var disabled = false;
  14. return {
  15. actionText: actionText,
  16. actionCSS: actionCSS,
  17. disabled: disabled
  18. }
  19. }
  20. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement