From 6ee5f42344000e704e100cec2379064191a1daeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20B=C5=82aszczuk?= Date: Tue, 4 Aug 2015 13:00:16 +0200 Subject: [PATCH] Confirm window should be called as window.confirm Check: https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm See #11799 --- js/devel/entities/slips.template.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/devel/entities/slips.template.js b/js/devel/entities/slips.template.js index 3e5db5e..92ddf0f 100644 --- a/js/devel/entities/slips.template.js +++ b/js/devel/entities/slips.template.js @@ -79,7 +79,7 @@ "Przejść do strony szablonu \"" + item.name + "\"?", "Go to the \"" + item.name + "\" template page?" ); - if (confirm(msg)) { + if (window.confirm(msg)) { document.location = url; } });