diff options
Diffstat (limited to 'apps/files_versions')
-rw-r--r-- | apps/files_versions/js/versions.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files_versions/js/versions.js b/apps/files_versions/js/versions.js index 61090f956f0..689d3a1eaf3 100644 --- a/apps/files_versions/js/versions.js +++ b/apps/files_versions/js/versions.js @@ -80,10 +80,13 @@ function createVersionsDropdown(filename, files) { success: function(response) { if (response.status=='error') { OC.dialogs.alert('Failed to revert '+file+' to revision '+formatDate(revision*1000)+'.','Failed to revert'); + } else { + $('#dropdown').hide('blind'); + // TODO also update the modified time in the web ui } } }); - + } function addVersion(revision ) { |