https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25697

            Bug ID: 25697
           Summary: Tinymce doesn't load in IE 11 (due to Koha adding
                    version number suffix to Javascript)
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs@lists.koha-community.org
          Reporter: dc...@prosentient.com.au
        QA Contact: testo...@bugs.koha-community.org

Tinymce tries to set its base url by iterating through "script" elements
looking for scripts like tinymce.min.js, and uses the baseurl of the script src
attribute for its own baseurl.

However, we provide something like tinymce.min_19.1106000.js, which will never
match.

This is OK in browsers like Chrome which support document.currentScript as a
fallback.

But IE 11 doesn't support document.currentScript.

The simple solution is just to provide "suffix" and "base_url" when running
tinyMCE.init. It's no big drama, and it means tinymce will work better
cross-browser.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to