[Koha-bugs] [Bug 5862] Incompatibility in ajax.js with "localName" for Internet Explorer

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 14 10:04:23 CET 2011


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

--- Comment #1 from Vicente Seguí Serrán <vicente at masmedios.com> 2011-03-14 09:04:23 UTC ---
Created attachment 3291
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3291
Use "nodeName" for IE

The solution is based on detecting this behavior that occurs in Internet
Explorer and use "nodeName", which is equivalent to "localName" for Internet
Explorer.

Ajax.js file will be modified as follows:

40              var selector_type = this.localName;
                if (selector_type == undefined) selector_type = this.nodeName;
// IE only
                switch ( selector_type.toLowerCase() ) { 

67              var selector_type = this.localName;
                if (selector_type == undefined) selector_type = this.nodeName;
// IE only
                switch ( selector_type.toLowerCase() ) {

-- 
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