diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-03-17 20:15:10 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-03-17 20:15:10 +0100 |
commit | ea8705bac8ae10b0c3c11258e83d8fb80ee616e9 (patch) | |
tree | d17c6c710d1f5b24422886da6bb3158716e6b243 /apps/files_versions/js | |
parent | ac48563efd74675f75b2b300b7d8b0c4f74be70b (diff) | |
download | nextcloud-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.js | 3 |
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') ); } |