summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/js
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2012-08-31 01:05:36 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2012-08-31 01:11:10 +0200
commit3ba27e624f2c36044a982bc0cd69f07106e61e96 (patch)
tree9c67296dd3f101e568fbee006f1ff4da588ebf41 /apps/files_versions/js
parent61a3e5f96b5019f89587e8cead63988f274d140e (diff)
downloadnextcloud-server-3ba27e624f2c36044a982bc0cd69f07106e61e96.tar.gz
nextcloud-server-3ba27e624f2c36044a982bc0cd69f07106e61e96.zip
unify permissions (2/3): change apps to use OC::PERMISSION_X
Diffstat (limited to 'apps/files_versions/js')
-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 e34a6f50cac..a9cf6171e45 100644
--- a/apps/files_versions/js/versions.js
+++ b/apps/files_versions/js/versions.js
@@ -11,7 +11,7 @@ $(document).ready(function() {
$(document).ready(function(){
if (typeof FileActions !== 'undefined') {
// Add history button to files/index.php
- FileActions.register('file','History', FileActions.PERMISSION_UPDATE, function(){return OC.imagePath('core','actions/history')},function(filename){
+ FileActions.register('file','History', OC.PERMISSION_UPDATE, function(){return OC.imagePath('core','actions/history')},function(filename){
if (scanFiles.scanning){return;}//workaround to prevent additional http request block scanning feedback