summaryrefslogtreecommitdiffstats
path: root/apps/files_versions
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-06-23 23:20:04 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-06-23 23:20:04 +0200
commitcc559c5b4bf4935d9ca48c764990f15a25382d7a (patch)
tree2ac314dd38cf76e95617bd5d022413f44643366a /apps/files_versions
parentf913b1629bb2bfd4e13582b8fbc541424efe2b24 (diff)
parent7576dde0a3d5a95e66c930111e11a35134a4d81d (diff)
downloadnextcloud-server-cc559c5b4bf4935d9ca48c764990f15a25382d7a.tar.gz
nextcloud-server-cc559c5b4bf4935d9ca48c764990f15a25382d7a.zip
Merge pull request #9074 from geez0x1/master
Update the modified date in UI on file reversion
Diffstat (limited to 'apps/files_versions')
-rw-r--r--apps/files_versions/js/versions.js2
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
});
}
}