[Koha-bugs] [Bug 10652] Ajaxfileupload.js failing in IE9 for local image upload

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 29 05:08:25 CEST 2013


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

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
                 CC|                            |dcook at prosentient.com.au
           Assignee|gmcharlt at gmail.com          |dcook at prosentient.com.au

--- Comment #1 from David Cook <dcook at prosentient.com.au> ---
Created attachment 19971
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19971&action=edit
Bug 10653 - Ajaxfileupload.js failing in IE9 for local image upload

This patch adds a try/catch to the Javascript for adding the iframe
element. The try will work for IE8 and older versions, while newer
versions and other browsers will be covered by the check.

Test Plan:

1) Try uploading a local cover image in IE9
2) Notice that your page is reloaded with no result (except the
pop-up of a Javascript error, if you have error reporting on in
your browser).

3) Apply the patch

4) Trying uploading a local cover image again
5) Notice that it uploads correctly

6) Repeat steps 4 and 5 for IE8, IE7, and/or other modern browsers.

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


More information about the Koha-bugs mailing list