[Koha-bugs] [Bug 6010] New: Can't save system preferences on IE8

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 30 21:29:52 CEST 2011


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

             Bug #: 6010
           Summary: Can't save system preferences on IE8
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: System Administration
        AssignedTo: paul.poulain at biblibre.com
        ReportedBy: fcapovilla at live.ca
         QAContact: koha-bugs at lists.koha-community.org
                CC: gmcharlt at gmail.com


Created attachment 3541
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3541
Corrects a javascript error on IE8 when trying to save preferences.

When trying to save system preferences in "/admin/preferences.pl", an error is
returned when clicking on the Save button in IE8 :

----------------------------------------
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0;
.NET4.0C; .NET4.0E; .NET CLR 2.0.50727)
Timestamp: Wed, 30 Mar 2011 19:25:09 UTC


Message: 'this.localName' is null or not an object
Line: 40
Char: 17
Code: 0
URI: https://www.******.com/intranet-tmpl/prog/en/js/ajax.js
-----------------------------------------

It looks like elem.localName isn't supported by IE8. I modified ajax.js so it
uses elem.nodeName instead, which should be equivalent and has better
cross-browser support.

Patch attached, please test.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list