Espocrm Expand Stream Notes by default

Updated: Aug 10, 2020

By default the updated info will be collapsed and you will have to expand it by clicking on that arrow icon like in the picture bellow:


If you one who don't like this behavior and want to be expanded by default you just need to add this code snippet:

// client/src/views/stream/notes/update.js
afterRender: function () {
    Dep.prototype.afterRender.call(this);
    this.$el.find('.details').removeClass('hidden');
}

This picture explains where to put the lines:

NOTE: you must add this lines to the first level of the return object, can be after the setup function or anywhere between the object functions like after data for example


NOTE: This is not safe upgrade, means you may lost this lines after upgrading your crm, if this happened just redo adding the code snippet to the file is enough.


Best Regards


118 views0 comments

Recent Posts

See All

Espocrm custom layout for relationship

Espocrm layout system has two types of layouts Detail Layout List Layout And by default provides four layouts for every entity as following: List: used in the main list screen Small List: used in rela