[Bug 22942] New: inclusion of javascript with IntranetUserJS or OPACUserJS
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22942 Bug ID: 22942 Summary: inclusion of javascript with IntranetUserJS or OPACUserJS Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: dominique.rouger@univ-st-etienne.fr QA Contact: testopia@bugs.koha-community.org Target Milestone: --- Created attachment 89925 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=89925&action=edit example of adding javascript code Currently the javascript code added from the system preferences, is done according to the scheme: <script type="text/javascript"> //<![CDATA[ code from the system preference //]]> </script> It would be more flexible to allow an inclusion of the form <script src="/my_path/my_file.js"></script> NB simply by allowing direct entry of the code, without addition, but requiring compliance with one or the other of these syntaxes And always at the end of the javasript code written by koha (and not in the middle of it) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22942 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|inclusion of javascript |Inclusion of Javascript |with IntranetUserJS or |file references with |OPACUserJS |IntranetUserJS or | |OPACUserJS CC| |katrin.fischer@bsz-bw.de -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22942 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi, you can do it like this to make it work in *UserJs </script> your embedded js files <script> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org