remove commit button if a user is removed

This commit is contained in:
ansuz committed 2016-08-18 18:31:01 +02:00
1 parent f8f66800d1
commit 269eba3c47
1 file changed
+2
+2
View File
@@ -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);
});