[Bug 5862] New: Incompatibility in ajax.js with "localName" for Internet Explorer
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5862 Bug #: 5862 Summary: Incompatibility in ajax.js with "localName" for Internet Explorer Classification: Unclassified Change sponsored?: --- Product: Koha Version: rel_3_2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: Browser compatibility AssignedTo: oleonard@myacpl.org ReportedBy: vicente@masmedios.com QAContact: koha-bugs@lists.koha-community.org It has been detected an incompatibility with Internet Explorer in the ajax.js file that cause a javascript error for this browser that prevents proper operation. The error is located in the lines: 40 switch ( this.localName.toLowerCase() ) { 65 switch ( this.localName.toLowerCase() ) { The error occurs because the "localName" is not supported by Internet Explorer and returns "undefined". -- 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.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5862 Vicente Seguí Serrán <vicente@masmedios.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|oleonard@myacpl.org |vicente@masmedios.com -- 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.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5862 --- Comment #1 from Vicente Seguí Serrán <vicente@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.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5862 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |PATCH-Sent Status|NEW |ASSIGNED Patch Status|--- |Needs Signoff --- Comment #2 from Owen Leonard <oleonard@myacpl.org> 2011-03-18 15:00:50 UTC --- Some additional information required to properly test this patch: - ajax.js is used in one place, preferences.pl in the staff client - If Internet Explorer is configured to prompt you on JavaScript errors, it will give you an alert when you load the preferences page: "Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C) Timestamp: Fri, 18 Mar 2011 14:59:12 UTC Message: Expected identifier, string or number Line: 11 Char: 9 Code: 0 URI: /intranet-tmpl/prog/en/js/ajax.js" -- 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.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5862 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch Status|Needs Signoff |Signed Off -- 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.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5862 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chris@bigballofwax.co.nz Version|rel_3_2 |rel_3_4 Patch Status|Signed Off |Patch Pushed --- Comment #3 from Chris Cormack <chris@bigballofwax.co.nz> 2011-03-20 23:01:06 UTC --- Pushed, 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.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5862 Vicente Seguí Serrán <vicente@masmedios.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|PATCH-Sent |P5 Status|ASSIGNED |RESOLVED Version|rel_3_4 |rel_3_2 Patch Status|Patch Pushed |--- Resolution| |FIXED -- 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.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5862 Frédérick Capovilla <fcapovilla@live.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fcapovilla@live.ca --- Comment #4 from Frédérick Capovilla <fcapovilla@live.ca> 2011-03-31 22:01:03 UTC --- *** Bug 6010 has been marked as a duplicate of this bug. *** -- 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.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org