Process change visibility action through Slim controller

This commit is contained in:
ArthurHoaro 2020-06-13 19:40:32 +02:00
parent 1ab675445e
commit 7b8a6f2858
4 changed files with 492 additions and 49 deletions
assets/default/js

View file

@ -486,7 +486,7 @@ function init(description) {
const ids = links.map(item => item.id);
window.location =
`${basePath}/?change_visibility&token=${token.value}&newVisibility=${visibility}&ids=${ids.join('+')}`;
`${basePath}/admin/shaare/visibility?token=${token.value}&newVisibility=${visibility}&id=${ids.join('+')}`;
});
});
}