| Summary: | Temporarily disable CSS and Javascript for pages doesn't work | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Séverine Queune <severine.queune> |
| Component: | Staff interface | Assignee: | Bugs List <koha-bugs> |
| Status: | NEW --- | QA Contact: | Testopia <testopia> |
| Severity: | normal | ||
| Priority: | P5 - low | CC: | fridolin.somers, gmcharlt, jonathan.druart |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Bug Depends on: | 14004 | ||
| Bug Blocks: | |||
|
Description
Séverine Queune
2021-06-17 10:02:24 UTC
It works for me (master)
Setting IntranetUserCSS with
body{color:red}
http://kohadev-intra.mydnsname.org:8081/cgi-bin/koha/circ/circulation.pl?borrowernumber=5
=> All is red
http://kohadev-intra.mydnsname.org:8081/cgi-bin/koha/circ/circulation.pl?borrowernumber=5&DISABLE_SYSPREF_IntranetUserCSS=1
=> All is black
I dont reproduce in master
With IntranetUserCSS :
body { background-color:red; }
Using :
/cgi-bin/koha/catalogue/detail.pl?biblionumber=1&DISABLE_SYSPREF_IntranetUserCSS=1
It works perfect, no red color.
Could the difference be related to setup? Still valid ? Ahhh I found a case where it does not work. When authentication is mandatory, with preference OpacPublic disabled. The authentication page is aked from C4::Auth::checkauth() and we do not execute the code from Bug 14004 in C4::Auth::get_template_and_user() Do we move code at the beginning of C4::Auth::get_template_and_user() ? |