Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mmarum-sugarcrm/8943655 to your computer and use it in GitHub Desktop.
Save mmarum-sugarcrm/8943655 to your computer and use it in GitHub Desktop.
Extending the a module's Record view in Sugar 7
({
extendsFrom: 'RecordView',
/**
* Some extra functionality
*/
doSomethingCool: function() {
},
_dispose: function() {
//additional stuff before calling the core create _dispose goes here
this._super('_dispose');
}
})
@cAstraea
Copy link

How would I add something to this view? This is just the javascript file. If i make for example a record.hbs it overwrites the default view... I just want to add more custom stuff only to the clients .hbs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment