Back to Comments Support

Mattia14k
Mattia14k

Hi, when you edit a comment: I click on save and there is this error js "TypeError: $.oc is undefined" already when you load the page from the console tells me : "TypeError: $.oc is undefined" how can i solve? thank you

Last updated

UpTop
UpTop

Hi there!

Make sure you've included the core files for OctoberCMS's Javascript Framework. You can easily implement these by adding the following to your page (before the {% scripts %} tag:

<script src="{{ [
    '@jquery',
    '@framework',
    '@framework.extras'
] | theme }}"></script>

Note: This included October's version of jquery, the core Framework and the extras.

Last updated

Mattia14k
Mattia14k

no ... i can't solve! maybe it depends on the jquery version?

1-3 of 3