aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments/js/commentmodel.js
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-03 20:53:40 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-03 20:53:40 +0100
commitda0462015507053c4424f62c32a4a182301fae22 (patch)
tree8ea008a05a11719ab042eedd72c9dacec997eef2 /apps/comments/js/commentmodel.js
parentdd2f62e3e479a9e9aa8a624d8961d8645c8c1aad (diff)
parent85bec3ffcb0e2c948c57cee2817307af2826d847 (diff)
downloadnextcloud-server-da0462015507053c4424f62c32a4a182301fae22.tar.gz
nextcloud-server-da0462015507053c4424f62c32a4a182301fae22.zip
Merge pull request #22101 from owncloud/comments-filerow
Add file row indicator for unread comments
Diffstat (limited to 'apps/comments/js/commentmodel.js')
-rw-r--r--apps/comments/js/commentmodel.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/comments/js/commentmodel.js b/apps/comments/js/commentmodel.js
index b945f71fdd2..ba04fd61de3 100644
--- a/apps/comments/js/commentmodel.js
+++ b/apps/comments/js/commentmodel.js
@@ -34,11 +34,12 @@
'actorDisplayName': '{' + NS_OWNCLOUD + '}actorDisplayName',
'creationDateTime': '{' + NS_OWNCLOUD + '}creationDateTime',
'objectType': '{' + NS_OWNCLOUD + '}objectType',
- 'objectId': '{' + NS_OWNCLOUD + '}objectId'
+ 'objectId': '{' + NS_OWNCLOUD + '}objectId',
+ 'isUnread': '{' + NS_OWNCLOUD + '}isUnread'
},
parse: function(data) {
- // TODO: parse non-string values
+ data.isUnread = (data.isUnread === 'true');
return data;
}
});