|
|
@ -310,7 +310,8 @@ define([
|
|
|
|
}
|
|
|
|
}
|
|
|
|
myUserName = myUserNameTemp;
|
|
|
|
myUserName = myUserNameTemp;
|
|
|
|
myData[myID] = {
|
|
|
|
myData[myID] = {
|
|
|
|
name: myUserName
|
|
|
|
name: myUserName,
|
|
|
|
|
|
|
|
uid: Cryptpad.getUid(),
|
|
|
|
};
|
|
|
|
};
|
|
|
|
addToUserData(myData);
|
|
|
|
addToUserData(myData);
|
|
|
|
Cryptpad.setAttribute('username', newName, function (err, data) {
|
|
|
|
Cryptpad.setAttribute('username', newName, function (err, data) {
|
|
|
@ -713,7 +714,8 @@ define([
|
|
|
|
setName(lastName);
|
|
|
|
setName(lastName);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
myData[myID] = {
|
|
|
|
myData[myID] = {
|
|
|
|
name: ""
|
|
|
|
name: "",
|
|
|
|
|
|
|
|
uid: Cryptpad.getUid()
|
|
|
|
};
|
|
|
|
};
|
|
|
|
addToUserData(myData);
|
|
|
|
addToUserData(myData);
|
|
|
|
realtimeOptions.onLocal();
|
|
|
|
realtimeOptions.onLocal();
|
|
|
@ -724,7 +726,7 @@ define([
|
|
|
|
if (newPad) {
|
|
|
|
if (newPad) {
|
|
|
|
cursor.setToEnd();
|
|
|
|
cursor.setToEnd();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
cursor.setToFix();
|
|
|
|
cursor.setToStart();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
};
|
|
|
|
};
|
|
|
|