automatically fill in display name in poll
This commit is contained in:
@@ -621,6 +621,12 @@ var ready = function (info, userid, readOnly) {
|
|||||||
.on('change', ['table'], change)
|
.on('change', ['table'], change)
|
||||||
.on('remove', [], change);
|
.on('remove', [], change);
|
||||||
|
|
||||||
|
var userInput = $('.uncommitted > input');
|
||||||
|
if (userInput.val() === '')
|
||||||
|
{
|
||||||
|
userInput.val(Cryptpad.getProxy()[Cryptpad.displayNameKey]);
|
||||||
|
}
|
||||||
|
|
||||||
UserList.addToUserData(APP.proxy.info.userData);
|
UserList.addToUserData(APP.proxy.info.userData);
|
||||||
|
|
||||||
APP.ready = true;
|
APP.ready = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user