Hi,
I try to update a js function like in : /client/custom/src/views/stream/note.js
with :
Espo.define('custom:views/stream/note', 'views/stream/note', function (Dep) { return Dep.extend({ init: function () { this.createField('createdAt', null, null, 'views/fields/datetime'); Dep.prototype.init.call(this);
I want to execute the parent init but just change 'views/fields/datetime-short' with 'views/fields/datetime' but not rewrite all the code above.
How Can I do it ?
Thanks
I try to update a js function like in : /client/custom/src/views/stream/note.js
with :
Espo.define('custom:views/stream/note', 'views/stream/note', function (Dep) { return Dep.extend({ init: function () { this.createField('createdAt', null, null, 'views/fields/datetime'); Dep.prototype.init.call(this);
I want to execute the parent init but just change 'views/fields/datetime-short' with 'views/fields/datetime' but not rewrite all the code above.
How Can I do it ?
Thanks