summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/js
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-03-17 20:15:10 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-03-17 20:15:10 +0100
commitea8705bac8ae10b0c3c11258e83d8fb80ee616e9 (patch)
treed17c6c710d1f5b24422886da6bb3158716e6b243 /apps/files_versions/js
parentac48563efd74675f75b2b300b7d8b0c4f74be70b (diff)
downloadnextcloud-server-ea8705bac8ae10b0c3c11258e83d8fb80ee616e9.tar.gz
nextcloud-server-ea8705bac8ae10b0c3c11258e83d8fb80ee616e9.zip
additional class is added to the file actions called e.g. 'action-share', 'action-rename'
in order to allow proper translations of the action's display name an additional parameter has been added to the register function
Diffstat (limited to 'apps/files_versions/js')
-rw-r--r--apps/files_versions/js/versions.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_versions/js/versions.js b/apps/files_versions/js/versions.js
index 4adf14745de..b452bc25b13 100644
--- a/apps/files_versions/js/versions.js
+++ b/apps/files_versions/js/versions.js
@@ -11,7 +11,7 @@ $(document).ready(function(){
// Add versions button to 'files/index.php'
FileActions.register(
'file'
- , t('files_versions', 'Versions')
+ , 'Versions'
, OC.PERMISSION_UPDATE
, function() {
// Specify icon for hitory button
@@ -36,6 +36,7 @@ $(document).ready(function(){
createVersionsDropdown(filename, file);
}
}
+ , t('files_versions', 'Versions')
);
}