Keyword

K2 Item getting Uncaught ReferenceError...

  • Daniel Elidio
  • Daniel Elidio's Avatar Topic Author
  • Offline
  • New Member
More
10 years 11 months ago #129119 by Daniel Elidio
K2 Item getting Uncaught ReferenceError... was created by Daniel Elidio
HiThere,

When I go to create an K2 Item (Article), and I click in "Save" or "Save & Close", I got the JavaScript Error in my console: "Uncaught ReferenceError: onK2EditorSave is not defined".

Anyone here have an idea of of what this problem is about?

I already tried disable or change version of Jquery on K2 parameters, but still is not enough.

Thanks!

Please Log in or Create an account to join the conversation.

  • Daniel Elidio
  • Daniel Elidio's Avatar Topic Author
  • Offline
  • New Member
More
10 years 11 months ago #129120 by Daniel Elidio
Replied by Daniel Elidio on topic Re: K2 Item getting Uncaught ReferenceError...
I already did a temporary fix. I just comented the line: 903 of k2.js

if(K2JVersion === '30') {
// onK2EditorSave();
}

Thanks!

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #129121 by Lefteris
Replied by Lefteris on topic Re: K2 Item getting Uncaught ReferenceError...
This is not a fix. This will cause your content not being saved. Make sure that you are using the latest versions of Joomla! and K2 and everything should work fine.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum