Set lastModifiedByUser even if an annotation author is authoritative
This commit is contained in:
parent
cb2df23580
commit
bcfd93bc79
1 changed files with 3 additions and 0 deletions
|
@ -129,6 +129,9 @@ Zotero.Annotations = new function () {
|
||||||
else if (!o.isExternal && isGroup) {
|
else if (!o.isExternal && isGroup) {
|
||||||
o.authorName = Zotero.Users.getName(item.createdByUserID);
|
o.authorName = Zotero.Users.getName(item.createdByUserID);
|
||||||
o.isAuthorNameAuthoritative = true;
|
o.isAuthorNameAuthoritative = true;
|
||||||
|
if (item.lastModifiedByUserID) {
|
||||||
|
o.lastModifiedByUser = Zotero.Users.getName(item.lastModifiedByUserID);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
o.readOnly = o.isExternal || !isAuthor;
|
o.readOnly = o.isExternal || !isAuthor;
|
||||||
if (o.type == 'highlight') {
|
if (o.type == 'highlight') {
|
||||||
|
|
Loading…
Reference in a new issue