issue whit Directive Snippets links

Discussion in 'General' started by DanyJack7, Nov 22, 2021.

  1. DanyJack7

    DanyJack7 New Member

    Hello guys,

    I have an issue with the links in Directive Snippets. They don't work when clicked, I have a javascript error into browser develope console.
    Same thing in Sites -> Options: Available nginx Directive Snippets. The links there do not work.

    Nginx Variables: {DOCROOT}, {DOMAIN}, {FASTCGIPASS}, {PHPFALLBACKFASTCGIPASS}

    Uncaught TypeError: template2.insertAtCaret is not a function
    at HTMLAnchorElement.<anonymous> (ispconfig.js:717)
    at HTMLDocument.dispatch (jquery.min.js:2)
    at HTMLDocument.v.handle (jquery.min.js:2)

    ISPConfig Version: 3.2dev20211117
    Ubuntu 20.04 x64
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Do you have any other errors earlier on, eg. when loading jquery.min.js? What browser version are you using?
     
  3. DanyJack7

    DanyJack7 New Member

    Hi Jesse, no errors when I load the page, the errors only come to the console when I click the links.
    I am using the last Microsoft Edge (chromium based) version
    Version 96.0.1054.29 (Official Build) (64 bit)
     
  4. DanyJack7

    DanyJack7 New Member

    I tried ispconfig_update.sh and used another browser but I have the same issue...
     
  5. michelangelo

    michelangelo Active Member

    Could somebody from the devs check that?
    I'm experiencing the same error on the 3.2dev version.

    Looks like this issue is caused by the jquery update.
    Reverting jquery.min.js to the version that was shipped with 3.2.7(p1) fixed for me this issue.
     
    Jesse Norell likes this.
  6. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

Share This Page