summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/js/versioncollection.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_versions/js/versioncollection.js')
-rw-r--r--apps/files_versions/js/versioncollection.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_versions/js/versioncollection.js b/apps/files_versions/js/versioncollection.js
index 176f8e7529c..fdb12bae0a9 100644
--- a/apps/files_versions/js/versioncollection.js
+++ b/apps/files_versions/js/versioncollection.js
@@ -73,12 +73,13 @@
},
parse: function(result) {
+ var fullPath = this._fileInfo.getFullPath();
var results = _.map(result.data.versions, function(version) {
var revision = parseInt(version.version, 10);
return {
id: revision,
name: version.name,
- fullPath: version.path,
+ fullPath: fullPath,
timestamp: revision,
size: version.size
};