send feedback on name changes
parent
bdca6b10c2
commit
3be6433fdf
|
@ -728,6 +728,7 @@ define([
|
|||
Cryptpad.prompt(Messages.changeNamePrompt, lastName || '', function (newName) {
|
||||
if (newName === null && typeof(lastName) === "string") { return; }
|
||||
if (newName === null) { newName = ''; }
|
||||
else { Cryptpad.feedback('NAME_CHANGED'); }
|
||||
Cryptpad.changeDisplayName(newName, true);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue