automatically fill in display name in poll
parent
0588564bc9
commit
798a3dc520
|
@ -621,6 +621,12 @@ var ready = function (info, userid, readOnly) {
|
|||
.on('change', ['table'], change)
|
||||
.on('remove', [], change);
|
||||
|
||||
var userInput = $('.uncommitted > input');
|
||||
if (userInput.val() === '')
|
||||
{
|
||||
userInput.val(Cryptpad.getProxy()[Cryptpad.displayNameKey]);
|
||||
}
|
||||
|
||||
UserList.addToUserData(APP.proxy.info.userData);
|
||||
|
||||
APP.ready = true;
|
||||
|
|
Loading…
Reference in New Issue