Created attachment 89925 [details] 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)
Hi, you can do it like this to make it work in *UserJs </script> your embedded js files <script>