Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Bronze Super Contributor
Posts: 152
Registered: ‎02-01-2011

Notes/History hangs in IE

One of our issues was Notes/History tabs and Opportunity/Products tabs hanging on page load. We weren't able to reproduce the issue on all workstations, but the particular version of IE I was using was customized using the IEAK. Apparently this happens on other workstations as well, but anyway...


We saw a Javascript error in sdata-client.js which was "object doesn't support this property or method" so I put the sdata-client-debug.js library in place and checked where the error was coming from. Looks like line 1816 (v7.5.4):


var contentType = response.getResponseHeader && response.getResponseHeader('Content-Type');


Turns out the null-check on response.getResponseHeader is the culprit. Seems like perfectly fine syntax, so I did some googling and found this article:


Basically, XMLHTTP in IE uses a COM+ bridge so objects may return "unknown" type, resulting in the above error. I changed it to this:


var contentType;

if (typeof(response.getResponseHeader) != 'undefined')

    contentType = response.getResponseHeader('Content-Type');


Seems to do the trick.

Andy Freeman
TrellisPoint, LLC
Posts: 51
Registered: ‎12-16-2011

Re: Notes/History hangs in IE

What version of IE is this happening? We actually keep this library on github:


Line # 882


Feel free to create an issue on github for this, providing as much info as possible.