Created attachment 3541 [details] [review] 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.
This seems to be a duplicate of Bug 5862. A patch for that has been pushed to both master and 3.2.x.
*** This bug has been marked as a duplicate of bug 5862 ***