top of page
Writer's pictureEymen Elkum

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


249 views0 comments

Opmerkingen


bottom of page