Only ask for a display name once in /poll
This commit is contained in:
@@ -647,7 +647,7 @@ define([
|
|||||||
// Update the toolbar list:
|
// Update the toolbar list:
|
||||||
// Add the current user in the metadata if he has edit rights
|
// Add the current user in the metadata if he has edit rights
|
||||||
if (readOnly) { return; }
|
if (readOnly) { return; }
|
||||||
if (typeof(lastName) === 'string' && lastName.length) {
|
if (typeof(lastName) === 'string') {
|
||||||
setName(lastName);
|
setName(lastName);
|
||||||
} else {
|
} else {
|
||||||
var myData = {};
|
var myData = {};
|
||||||
|
|||||||
Reference in New Issue
Block a user