summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/js
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2012-06-27 15:05:40 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2012-06-27 15:05:40 +0200
commitd5237c42bc0d6f9155629c15904b69b7f60e2e5f (patch)
tree32604fbc651c730dbad35d0f82fbb53d381df71a /apps/files_versions/js
parent2d8a380a21716f619bc38e769876dfa5752e6f68 (diff)
downloadnextcloud-server-d5237c42bc0d6f9155629c15904b69b7f60e2e5f.tar.gz
nextcloud-server-d5237c42bc0d6f9155629c15904b69b7f60e2e5f.zip
Util::formatDate() expect $timestamp as double
Diffstat (limited to 'apps/files_versions/js')
-rw-r--r--apps/files_versions/js/versions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_versions/js/versions.js b/apps/files_versions/js/versions.js
index 82d569fa0f6..a090fde446e 100644
--- a/apps/files_versions/js/versions.js
+++ b/apps/files_versions/js/versions.js
@@ -104,9 +104,9 @@ function createVersionsDropdown(filename, files) {
}
function addVersion(revision ) {
- name=formatDate(revision*1000);
+ name=formatDate(revision.version*1000);
var version=$('<option/>');
- version.attr('value',revision);
+ version.attr('value',revision.version);
version.text(name);
// } else {