For Bug 49148
This commit is contained in:
parent
1da3ef45f3
commit
45f53a954b
|
@ -589,7 +589,7 @@ define([
|
||||||
if (!user) {
|
if (!user) {
|
||||||
user = new Common.Models.User({
|
user = new Common.Models.User({
|
||||||
id : version.user.id,
|
id : version.user.id,
|
||||||
username : version.user.name,
|
username : version.user.name || this.textAnonymous,
|
||||||
colorval : Asc.c_oAscArrUserColors[usersCnt],
|
colorval : Asc.c_oAscArrUserColors[usersCnt],
|
||||||
color : this.generateUserColor(Asc.c_oAscArrUserColors[usersCnt++])
|
color : this.generateUserColor(Asc.c_oAscArrUserColors[usersCnt++])
|
||||||
});
|
});
|
||||||
|
@ -600,7 +600,7 @@ define([
|
||||||
version: version.versionGroup,
|
version: version.versionGroup,
|
||||||
revision: version.version,
|
revision: version.version,
|
||||||
userid : version.user.id,
|
userid : version.user.id,
|
||||||
username : version.user.name,
|
username : version.user.name || this.textAnonymous,
|
||||||
usercolor: user.get('color'),
|
usercolor: user.get('color'),
|
||||||
created: version.created,
|
created: version.created,
|
||||||
docId: version.key,
|
docId: version.key,
|
||||||
|
@ -637,7 +637,7 @@ define([
|
||||||
if (!user) {
|
if (!user) {
|
||||||
user = new Common.Models.User({
|
user = new Common.Models.User({
|
||||||
id : change.user.id,
|
id : change.user.id,
|
||||||
username : change.user.name,
|
username : change.user.name || this.textAnonymous,
|
||||||
colorval : Asc.c_oAscArrUserColors[usersCnt],
|
colorval : Asc.c_oAscArrUserColors[usersCnt],
|
||||||
color : this.generateUserColor(Asc.c_oAscArrUserColors[usersCnt++])
|
color : this.generateUserColor(Asc.c_oAscArrUserColors[usersCnt++])
|
||||||
});
|
});
|
||||||
|
@ -649,7 +649,7 @@ define([
|
||||||
revision: version.version,
|
revision: version.version,
|
||||||
changeid: i,
|
changeid: i,
|
||||||
userid : change.user.id,
|
userid : change.user.id,
|
||||||
username : change.user.name,
|
username : change.user.name || this.textAnonymous,
|
||||||
usercolor: user.get('color'),
|
usercolor: user.get('color'),
|
||||||
created: change.created,
|
created: change.created,
|
||||||
docId: version.key,
|
docId: version.key,
|
||||||
|
|
Loading…
Reference in a new issue