• Resolved Huckleberry

    (@helijobs)


    Under “Search Result Chart” making to the type of chart line or time frame give SyntaxError in the console using latest Google Chrome on a Windows 11.

    Uncaught SyntaxError: Identifier 'ctx' has already been declared
    at b (jquery.min.js:2:866)
    at He (jquery.min.js:2:48376)
    at s.fn.init.append (jquery.min.js:2:49727)
    at s.fn.init. (jquery.min.js:2:50819)
    at B (jquery.min.js:2:32425)
    at s.fn.init.html (jquery.min.js:2:50497)
    at Object.success (chart-controller.js?ver=6.1.1:15:20)
    at c (jquery.min.js:2:28327)
    at Object.fireWith as resolveWith
    at l (jquery.min.js:2:80045)

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Cornel Raiu

    (@cornelraiu-1)

    Hi @helijobs ,

    Thanks for letting me know.

    I will try to replicate it and release a fix asap.

    Thanks!

    Thread Starter Huckleberry

    (@helijobs)

    Hi @cornelraiu-1

    Let me know if I can be of any help with that.

    Cheers

    Plugin Author Cornel Raiu

    (@cornelraiu-1)

    @helijobs please confirm that after you change it and click “Save as default” and then refresh, the chart works as expected.

    Thanks!

    Thread Starter Huckleberry

    (@helijobs)

    Yes. First it produces the SyntaxError when I click the “Save as default” button, but then the chart appeared when I refreshed with F5.

    Plugin Author Cornel Raiu

    (@cornelraiu-1)

    Thanks! On it.

    I will release an update with a fix asap.

    Plugin Author Cornel Raiu

    (@cornelraiu-1)

    Hi @helijobs ,

    Since this is not a critical issue, I will not deploy a fix right now.

    The library I am using for displaying the charts is pretty outdated so I think it would make more sense to update the whole charts integration to a newer and better solution.

    I already started working on it but it will take a bit more time for testing and making sure it works correctly in all cases.

    In the meantime, please let me know if you’d like me to send you the code that you need to change in the plugin files in order to temporarily fix this issue on your end.

    Let me know.

    Thank you!

    Thread Starter Huckleberry

    (@helijobs)

    No problem, now I know how to retrieve the charts. Thank you for the feedback!

    Plugin Author Cornel Raiu

    (@cornelraiu-1)

    Hi @helijobs ,

    I have just released an update that fixes this issue.

    Thank you for your patience.

    Cornel Raiu

    Thread Starter Huckleberry

    (@helijobs)

    Thank you @cornelraiu-1 It works great.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘“Search Result Chart” dropdowns give SyntaxError’ is closed to new replies.