diff options
author | VicDeo <victor.dubiniuk@gmail.com> | 2012-08-31 17:18:53 +0400 |
---|---|---|
committer | VicDeo <victor.dubiniuk@gmail.com> | 2012-08-31 17:18:53 +0400 |
commit | 48bcb769cfd49172d09d4459434710a71157499a (patch) | |
tree | 819e782c328c062aedf243ea73e9abbc675be817 /files_videoviewer | |
parent | 1a3676121dd3a9dd65fee9bcad4e9520cca665e8 (diff) |
Update to OC::PREMISSION_
Diffstat (limited to 'files_videoviewer')
-rw-r--r-- | files_videoviewer/js/viewer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files_videoviewer/js/viewer.js b/files_videoviewer/js/viewer.js index 2b68041f6..b32c75928 100644 --- a/files_videoviewer/js/viewer.js +++ b/files_videoviewer/js/viewer.js @@ -85,7 +85,7 @@ $(document).ready(function() { if (typeof FileActions !== 'undefined') { for (var i = 0; i < streamerPlayer.mimeTypes.length; ++i) { var mime = streamerPlayer.mimeTypes[i]; - FileActions.register(mime, 'View', FileActions.PERMISSION_READ, '', streamerPlayer.onView); + FileActions.register(mime, 'View', OC.PERMISSION_READ, '', streamerPlayer.onView); FileActions.setDefault(mime, 'View'); } $(document).keydown(streamerPlayer.onKeyDown); |