Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibly fix Gallery & files_mediaviewer compatibility issue. #310

Merged
merged 1 commit into from
Nov 15, 2020

Conversation

RossRogers
Copy link
Contributor

This simple, no-harm change checks that OCA.Files.fileActions exists
before using it. This seems to fix #102, the compatibility issue between the
files_mediaviewer app and the old Gallery app. The edit allows
javascript to continue without throwing an exception if
OCA.Files.fileActions does not exist. For some reason this happens
when both Gallery and files_mediaviewer are enabled in my installation
of OwnCloud.

This simple, no-harm change checks that `OCA.Files.fileActions` exists
before using it.  This seems to fix owncloud#102, the compatibility issue between the
files_mediaviewer app and the old Gallery app.  The edit allows
javascript to continue without throwing an exception if
`OCA.Files.fileActions` does not exist.  For some reason this happens
when both Gallery and files_mediaviewer are enabled in my installation
of OwnCloud.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gallery overview is missing
2 participants