Browse Source

Update the modified date in UI on file reversion

remotes/origin/ldap_group_count
geez0x1 12 years ago
parent
commit
7576dde0a3
  1. 2
      apps/files_versions/js/versions.js

2
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
});
}
}

Loading…
Cancel
Save