Skip to content

Possibly fix Gallery & files_mediaviewer compatibility issue.#310

Merged
mmattel merged 1 commit intoowncloud:masterfrom
RossRogers:master
Nov 15, 2020
Merged

Possibly fix Gallery & files_mediaviewer compatibility issue.#310
mmattel merged 1 commit intoowncloud:masterfrom
RossRogers:master

Conversation

@RossRogers
Copy link
Copy Markdown
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