Second Editor doesn't work

Second Editor doesn't work

exylianexylian Posts: 5Questions: 2Answers: 0

Hello,

I recently added my second Editor on my new project. I've wrote the code like every time but it doesn't work. I even tried to use the code generated by your generator. Nothing changed. Still the same error in my Chrome console.

Uncaught TypeError: Cannot read property 'bJUI' of undefined @ dataTables.tableTools.js:715

I guess it can't be an issue of the order I load my Scripts cause the other Editor works fine as usual.

Some advice?

Best regards
Exylian

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin

    Hi Exylian,

    Are you able to link to the page showing the issue so I can debug it please? If not, double check that the table option is correct in your second Editor initialisation.

    Allan

  • exylianexylian Posts: 5Questions: 2Answers: 0

    You should have a pm from me allan!

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Answer ✓

    Hi,

    Thanks for the link. Your page is including jQuery, DataTables and various other scripts multiple times. Once at the top of the page (lines 17-27) and then again at the bottom (lines 168-178). That is the issue. Only include them once.

    Allan

  • exylianexylian Posts: 5Questions: 2Answers: 0

    Oh dear... 1000 thanks allan. Didn't get it while watching the Source code -.-

This discussion has been closed.