jquery.js HTTP error: 404 error while add controllers/record recordViews

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iioi
    Member
    • Jun 2022
    • 48

    jquery.js HTTP error: 404 error while add controllers/record recordViews

    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;
    }



    },





    });
    });
    Last edited by iioi; 06-17-2022, 06:28 AM.
  • yuri
    Member
    • Mar 2014
    • 8442

    #2
    "Clientrequest" = > "clientrequest"

    Should not have been posted in bug reports.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...