Editor Create Button Stopped Working

Editor Create Button Stopped Working

theAnimalixtheAnimalix Posts: 35Questions: 12Answers: 2
edited February 2017 in Free community support

Hey,

Recently I updated Datatables+Editor to the latest version and today I've noticed that "Create" button stopped working. When I click the button, instead of opening the editor, it will redirect me to "/businesses/create" page (although I can't find that URL/path anywhere in my code, and route doesn't exist for that URL), and without triggering "open" or "initEdit" event. Strange thing is that "Edit" button and others work as they should. Another thing to mention is that this happens on all (3) pages that use buttons.

Any suggestion how to debug this problem or idea why this would happen?

Versions:
"datatables.net-bs": "~2.1.1",
"datatables.net-responsive-bs": "~2.1.1",
"datatables.net-buttons-bs": "~1.2.4",
"datatables.net-buttons-dt": "^1.2.4",
"datatables.net-select-bs": "~1.2.1",
"datatables.net-fixedheader-bs": "~3.1.2",
"datatables.net-colreorder": "^1.3.2",
"jQuery": "~1.12.4",
DataTables Editor: 1.6.1

This question has an accepted answers - jump to answer

Answers

  • theAnimalixtheAnimalix Posts: 35Questions: 12Answers: 2
    edited February 2017 Answer ✓

    I've found the source of the problem just after posting the question here.

    I'm using this awesome package for Laravel (PHP) and Datatables, which I also updated and it has overwritten my buttons code with this (found it by searching for "/create" through whole source code).

    So I just had to remove that.

    Sorry for opening the post for no reason.

  • allanallan Posts: 61,743Questions: 1Answers: 10,111 Site admin

    Thanks for the update. Good to hear you've got it working now.

    Allan

This discussion has been closed.