summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-07-15 00:52:11 +0200
committerTor Andersson <tor@ccxvii.net>2024-07-23 13:47:44 +0200
commitdceb43dd125d4dd53056f0c8b398451e181b5cd5 (patch)
tree7b3381eee5e8e98f728887cc1e31b447c4f61ed7 /public
parentb730beef2ecbf9f8c4d7cc2269c0ddd77a4acd90 (diff)
downloadserver-dceb43dd125d4dd53056f0c8b398451e181b5cd5.tar.gz
rename confirm_action to confirm_send_action.
Diffstat (limited to 'public')
-rw-r--r--public/common/client.js4
1 files 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)
}