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

pull/1/head
ansuz 8 years ago
parent aa91ebd24e
commit e386749e89

@ -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) {
if (typeof(lastName) === 'string' && lastName.length) {
setName(lastName);
}
console.log("Unlocking editor");
setEditable(true);
initializing = false;
});
//var lastName = getLastName();
};
var onAbort = realtimeOptions.onAbort = function (info) {

Loading…
Cancel
Save