AnsweredAssumed Answered

How to remove ListView action in Sugar 7.7.1 ?

Question asked by Shyam Gaikwad on Aug 18, 2016
Latest reply on Aug 18, 2016 by Tevfik Tümer

Hi All,

 

Please see below screen shot, I want to remove ListView action.

 

Below code was working in Sugar 7.6 but not in 7.7.1, please suggest me.

path\custom\modules\Accounts\clients\base\views\recordlist\recordlist.js

({
extendsFrom: 'AccountsRecordlistView',
initialize: function (options) {
 this._super('initialize', [options]);
},
_render: function(options) {
 this._super('_render',[options]);
 $('[name="addtolist_button"]').remove();
}
})

 

 

Thanks,

Shyam

Outcomes