From 435c66de963fb9453b9a9e7b08e7ace7eab918dd Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Sat, 30 Mar 2019 20:03:47 +0100 Subject: add reason to mod call --- webAO/client.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'webAO/client.js') diff --git a/webAO/client.js b/webAO/client.js index f7ab8b2..6a4843c 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -2125,7 +2125,8 @@ $(function () { modal: true, buttons: { Sure: function () { - client.sendZZ(""); + var reason = prompt("Please enter the reason", ""); + client.sendZZ(reason); $(this).dialog("close"); }, Cancel: function () { -- cgit