I am looking to force a particular subpanel, say Documents, to be open on the loading of a record. I have found a little code but its all 6.x related.
I am looking to force a particular subpanel, say Documents, to be open on the loading of a record. I have found a little code but its all 6.x related.
This code may help you:
({
extendsFrom: 'BaseSubpanelLayout',
initialize: function(options) {
this._super('initialize', [options]);
},
_render: function() {
this._components[0].render();
this.$('.subpanel').toggleClass('closed', false);
}
})
This code may help you:
({
extendsFrom: 'BaseSubpanelLayout',
initialize: function(options) {
this._super('initialize', [options]);
},
_render: function() {
this._components[0].render();
this.$('.subpanel').toggleClass('closed', false);
}
})
I see how that code works but I cant see any way to narrow it down to a particular module.
Thanks Diego -- We need a developer who can integrate sugarcrm with our website