-
Notifications
You must be signed in to change notification settings - Fork 14
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
Do not pool /notifications when the topbar is not visible #138
Comments
@jvillafanez can you take care ? |
I guess we'll go with the easiest solution available. |
Options:
|
How about just not loading this notifications JS file when on a page that is not the main layout ? (ex: public page, login page, etc) |
That's mostly the second option. The current option checks the requested URL in PHP to decide to load or not the script file, which leads to this issue. |
Maybe we could also simply add some CSS classes on the html element of the different layout templates in a way that makes them distinguishable ? The values in question could even be read by the |
If the page is handled by core, it's better to let core provide the tools required for the apps to hook in. Basically, core will fetch whatever is needed from the app. |
Dumping the contents of owncloud/core#30385 (comment)
The text was updated successfully, but these errors were encountered: