The code where we get the error on is the following:
var curPopupIcon = $(this).clone(true);
// place the copy next to the document type icon
var docTypeColumn = $(this).parent().prev();
The error occurs on the last line with:
SCRIPT65535: Invalid calling object
knockout-3.2.0.js, line 75 character 103
I have spent several days looking on the internet for any possible solution and have yet to find a cause or fix to this problem.
Additional information is that this only occurs in IE9 compatibility mode. We have some functionality in our Product that Iframes in a SharePoint page where the Viewer is embedded. Because of limitations which we can't change the fact that when SharePoint is iframed into the Product it throws it into IE9 compatibility mode.
I have however replicate the same issue when navigating to SharePoint outside of the iframe by changing the Browser Mode to IE9 Compat View and Document Mode to IE9 Standards via IE Developer Toolbar.
Any help would be most appreciated.