From 269eba3c47548834a5fa2aaa2a784478a3a2d3f5 Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 18 Aug 2016 18:31:01 +0200 Subject: [PATCH] remove commit button if a user is removed --- www/poll/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/poll/main.js b/www/poll/main.js index 34e2c9e96..d7228644a 100644 --- a/www/poll/main.js +++ b/www/poll/main.js @@ -257,6 +257,8 @@ define([ Cryptpad.confirm("Are you sure you'd like to remove this user?", // TODO translate function (yes) { if (!yes) { return; } + // remove commit button, and anything else... + makeUserEditable(id, false); removeColumn(proxy, id); table.removeColumn(id); });