aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/default/js
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-06-13 19:40:32 +0200
committerArthurHoaro <arthur@hoa.ro>2020-07-23 21:19:21 +0200
commit7b8a6f2858248601d43c1b8247deb91b74392d2e (patch)
treed11d87fbacbb454727b5c5e9357f14f76faf5bec /assets/default/js
parent1ab675445e52000d8b667c898aae041357304a33 (diff)
downloadShaarli-7b8a6f2858248601d43c1b8247deb91b74392d2e.tar.gz
Shaarli-7b8a6f2858248601d43c1b8247deb91b74392d2e.tar.zst
Shaarli-7b8a6f2858248601d43c1b8247deb91b74392d2e.zip
Process change visibility action through Slim controller
Diffstat (limited to 'assets/default/js')
-rw-r--r--assets/default/js/base.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/default/js/base.js b/assets/default/js/base.js
index 9f67d980..af3d650c 100644
--- a/assets/default/js/base.js
+++ b/assets/default/js/base.js
@@ -486,7 +486,7 @@ function init(description) {
486 486
487 const ids = links.map(item => item.id); 487 const ids = links.map(item => item.id);
488 window.location = 488 window.location =
489 `${basePath}/?change_visibility&token=${token.value}&newVisibility=${visibility}&ids=${ids.join('+')}`; 489 `${basePath}/admin/shaare/visibility?token=${token.value}&newVisibility=${visibility}&id=${ids.join('+')}`;
490 }); 490 });
491 }); 491 });
492 } 492 }