[Bug 8512] New: Manual for 3.8 SelfCheckout JavaScript example produces error
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8512 Priority: P5 - low Change sponsored?: --- Bug ID: 8512 Assignee: nengard@gmail.com Summary: Manual for 3.8 SelfCheckout JavaScript example produces error Severity: minor Classification: Unclassified OS: All Reporter: veron@veron.ch Hardware: All Status: NEW Version: master Component: Documentation Product: Koha -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8512 --- Comment #1 from Marc Véron <veron@veron.ch> --- http://manual.koha-community.org/3.8/en/selfcheckout.html The JavaScript example for adding a link to the Self Checkout module using the intranetuserjs system preference leads to a JavaScript error (Unterminated string) if it is copy/pasted 'as is' into the system preference. This is due to the line breaks in the example: ------ $(document).ready(function(){ $("#login #submit").parent().after("<p><a href=\"http://YOUR_KOHA_OPAC_URL/cgi-bin/koha/sco/sco-main.pl\" target=\"_blank\">Self-Checkout</a></p>"); }); ------ I propose to add a warning like: "Warning: Please enter the code as one line." -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8512 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |veron@veron.ch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8512 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Nicole C. Engard <nengard@gmail.com> --- Okey dokey, I fixed it. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org