diff options
author | geez0x1 <geez0x1@users.noreply.github.com> | 2014-06-17 22:22:03 +0200 |
---|---|---|
committer | geez0x1 <geez0x1@users.noreply.github.com> | 2014-06-17 22:22:03 +0200 |
commit | 7576dde0a3d5a95e66c930111e11a35134a4d81d (patch) | |
tree | 252e2bc82193a3a29210b0a4563ccca6d7f1784e /apps/files_versions/js | |
parent | 8d1cf79152b16b11e8be3bc6cc57f5a9e72b04dd (diff) | |
download | nextcloud-server-7576dde0a3d5a95e66c930111e11a35134a4d81d.tar.gz nextcloud-server-7576dde0a3d5a95e66c930111e11a35134a4d81d.zip |
Update the modified date in UI on file reversion
Diffstat (limited to 'apps/files_versions/js')
-rw-r--r-- | apps/files_versions/js/versions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/js/versions.js b/apps/files_versions/js/versions.js index 942a1a929f7..64e0df76490 100644 --- a/apps/files_versions/js/versions.js +++ b/apps/files_versions/js/versions.js @@ -70,9 +70,9 @@ function revertFile(file, revision) { OC.Notification.show( t('files_version', 'Failed to revert {file} to revision {timestamp}.', {file:file, timestamp:formatDate(revision * 1000)}) ); } else { $('#dropdown').hide('blind', function() { + $('#dropdown').closest('tr').find('.modified:first').html(relative_modified_date(revision)); $('#dropdown').remove(); $('tr').removeClass('mouseOver'); - // TODO also update the modified time in the web ui }); } } |