[Koha-bugs] [Bug 12862] HTML fixes triggered by cleaning up language="javascript"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 3 03:53:06 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12862

--- Comment #2 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 31326
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31326&action=edit
Bug 12862: OPAC bootstrap - clean up language="javascript"

There was a <script language="javascript"> tag.
It was cleaned up to be <script type="text/javascript">.
Also, the div was being chopped because the script was
in the middle of the div. Moving it to head solved the issues.

This is difficult to test, since the printslip is triggered
when you click Finish.

TEST PLAN
---------
 1) Home -> Koha administration -> Global system parameters -> OPAC
 2) Set the OPAC system preference 'opacthemes' to 'bootstrap'.
 3) Start the self-checkout client (/cgi-bin/koha/sco/sco-main.pl)
 4) Log in.
 5) Check something out.
 6) Change the address url text box to
    .../cgi-bin/koha/sco/printslip.pl?borrowernumber=##&print=qslip
    Where ## is your borrower number which just checked something out.
 7) Click Cancel on the print dialogue
 8) View Page Source
    -- The HTML validation plugin will point out multiple errors.
 9) Apply patch
10) Refresh page
11) View Page Source
    -- Much happier validation results.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list