From 4667dc8c888fb33a3857f61dd2cb1c01892aab3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sat, 1 Oct 2022 22:00:55 -0400 Subject: [PATCH] fix admin toast --- public/src/admin/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/admin/admin.js b/public/src/admin/admin.js index dd1b80b05e..75b109c65d 100644 --- a/public/src/admin/admin.js +++ b/public/src/admin/admin.js @@ -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) {