aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
authorstonedDiscord <stoned@derpymail.org>2019-03-30 20:03:47 +0100
committerstonedDiscord <stoned@derpymail.org>2019-03-30 20:03:47 +0100
commit435c66de963fb9453b9a9e7b08e7ace7eab918dd (patch)
tree6aadb695a8a7b0f686bb8ebf3a33c6198512c372 /webAO/client.js
parent4226220f412eddd1f709944b5ceb575b69e4591a (diff)
add reason to mod call
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js3
1 files changed, 2 insertions, 1 deletions
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 () {