remove commit button if a user is removed

pull/1/head
ansuz 8 years ago
parent f8f66800d1
commit 269eba3c47

@ -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);
});

Loading…
Cancel
Save