unlock the editor after your name has been set (or not)

This commit is contained in:
ansuz 2016-08-25 11:36:20 +02:00
parent aa91ebd24e
commit e386749e89

View File

@ -580,18 +580,14 @@ define([
}); });
} }
//if (!inner.innerText.trim()) { documentBody.innerHTML = Messages.initialState; }
console.log("Unlocking editor");
setEditable(true);
initializing = false;
getLastName(function (err, lastName) { getLastName(function (err, lastName) {
if (typeof(lastName) === 'string' && lastName.length) { if (typeof(lastName) === 'string' && lastName.length) {
setName(lastName); setName(lastName);
} }
console.log("Unlocking editor");
setEditable(true);
initializing = false;
}); });
//var lastName = getLastName();
}; };
var onAbort = realtimeOptions.onAbort = function (info) { var onAbort = realtimeOptions.onAbort = function (info) {