fix admin toast

This commit is contained in:
Barış Soner Uşaklı
2022-10-01 22:00:55 -04:00
parent 7b18ea3e61
commit 4667dc8c88

View File

@@ -163,7 +163,7 @@ app.onDomReady();
// need to preload the compiled alert template
// otherwise it can be unloaded when rebuild & restart is run
// the client can't fetch the template file, resulting in an error
benchpress.render('alert', {}).then(function () {
benchpress.render('partials/toast', {}).then(function () {
$('.rebuild-and-restart').off('click').on('click', function () {
bootbox.confirm('[[admin/admin:alert.confirm-rebuild-and-restart]]', function (confirm) {
if (confirm) {