Hello. Help, please.
I get a next page using app.request.post in success function section.
<template>
...
</template>
<script>
return {
on: {
pageInit: function () {
app.request.post('php/request_list.php', {dates: '...' }, function (data) {
$$('td').on ('click', function () {
app.router.navigate('/request/');
});
});
},
}
}
</script>
when returning, the previous page stops reacting to the “back” button. (?)
in routes:
path: '/request_list/',
componentUrl: './pages/request_list.html',
Thanks