-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Include the share in the Files_Sharing::loadAdditionalScripts event #17575
Include the share in the Files_Sharing::loadAdditionalScripts event #17575
Conversation
/backport to stable17 |
Wait, do not review yet 🤦♂️ |
Done. The tests passed because only the first parameter was being checked; I have extended them to also test the new parameter. I have also changed the parameter from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those should be converted to the new events 😉
But sure.
This provides a better context for apps using the event, for example to load one script or another depending on whether the share is a file or a folder. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
f6c38e5
to
5c7c308
Compare
Squashed. |
backport to stable17 in #17597 |
This provides a better context for apps using the event, for example to load one script or another depending on whether the share is a file or a folder.
This should be backported to Nextcloud 17, as it is needed by Talk to fix some issues in the public share page for folder shares.