[Koha-bugs] [Bug 22942] New: inclusion of javascript with IntranetUserJS or OPACUserJS

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 20 10:17:29 CEST 2019


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 at lists.koha-community.org
          Reporter: dominique.rouger at univ-st-etienne.fr
        QA Contact: testopia at 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.


More information about the Koha-bugs mailing list