Version 7.1.7
1. Add "recordViews": {
"detail": "custom:views/Clientrequest/record/detail" in /custom/Espo/Custom/Resources/metadata/clientDefs/Clientrequest.json
2. Get return on edit button:
Could not load content for https://****.com/node_modules/jquery/dist/jquery.js (HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE1/
detail source:
define('custom:views/Clientrequest/record/detail', ['views/record/detail'], function (Dep) {
return Dep.extend({
setup: function () {
Dep.prototype.setup.call(this);
debugger;
var urs = this.getUser();
},
actionDuplicate: function () {
debugger;
try
{
this.model.attributes.name = '#####';
;
} catch (err) {
var i =0;
}
},
actionEdit: function () {
debugger;
try
{
;
} catch (err) {
var i =0;
}
},
});
});
1. Add "recordViews": {
"detail": "custom:views/Clientrequest/record/detail" in /custom/Espo/Custom/Resources/metadata/clientDefs/Clientrequest.json
2. Get return on edit button:
Could not load content for https://****.com/node_modules/jquery/dist/jquery.js (HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE1/
detail source:
define('custom:views/Clientrequest/record/detail', ['views/record/detail'], function (Dep) {
return Dep.extend({
setup: function () {
Dep.prototype.setup.call(this);
debugger;
var urs = this.getUser();
},
actionDuplicate: function () {
debugger;
try
{
this.model.attributes.name = '#####';
;
} catch (err) {
var i =0;
}
},
actionEdit: function () {
debugger;
try
{
;
} catch (err) {
var i =0;
}
},
});
});
Comment