[Koha-bugs] [Bug 12239] New: Errors loading script under https in chrome

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 13 11:37:53 CEST 2014


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

            Bug ID: 12239
           Summary: Errors loading script under https in chrome
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: martin.renvoize at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org

Chrome seems to be more strict when it comes to loading scripts than other
browsers. It seems we're sending /opac-tmpl/bootstrap/lib/enquire.min.js and
/opac-tmpl/bootstrap/js/script.js with a MIME type of text/plain when we should
be sending it with type application/javascript.

This causes warnings when running under https and the following error message
to appear in the console: 'Resource interpreted as script but transferred with
MIME type text/plain.'

This relevant code is inside a modernizr block so I'm not sure how to proceed
with a fix.

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


More information about the Koha-bugs mailing list