Do not reload page...

Do not reload page...

SeppelchenSeppelchen Posts: 69Questions: 25Answers: 1

Hello,

please visit: http://logbook.klarlichter.de/flightmanager/flights.php

If we add flight, and insert all data. it will work. But it will insert and reload page. If there is any possibility to use JS insted of reload page?

Answers

  • jameskitejameskite Posts: 7Questions: 2Answers: 0

    Well the page reloading problem boils down to this in your editor initialization:

                        "onCreate": function (json, data) {
                        location.reload();
                        },
                        "onEdit": function (json, data) {
                        location.reload();
                        }
    

    You'll have to consult the docs in more depth because it looks like what you have there is not fully configured. I will admit though I'm not familiar with the Editor.

  • SeppelchenSeppelchen Posts: 69Questions: 25Answers: 1

    :( Did anyone had a solution for it?

This discussion has been closed.