From dceb43dd125d4dd53056f0c8b398451e181b5cd5 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 15 Jul 2024 00:52:11 +0200 Subject: rename confirm_action to confirm_send_action. --- public/common/client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/common/client.js b/public/common/client.js index 229f8ae..c817016 100644 --- a/public/common/client.js +++ b/public/common/client.js @@ -704,7 +704,7 @@ function action_button(action, label) { } function confirm_action_button(action, label, message) { - action_button_imp(action, label, evt => confirm_action(message, action)) + action_button_imp(action, label, evt => confirm_send_action(message, action)) } function send_action(verb, noun) { @@ -728,7 +728,7 @@ function send_action(verb, noun) { return false } -function confirm_action(message, verb, noun) { +function confirm_send_action(verb, noun, message) { if (window.confirm(message)) send_action(verb, noun) } -- cgit v1.2.3