possible bug
possible bug
jrohr
Posts: 2Questions: 1Answers: 0
I have been logging javascript errors on our site and have came across a bug that is found at line 5657
Uncaught TypeError: Cannot read property 'opener' of undefined
If the view is undefined, it will error out in google chrome.
The error is thrown when closing a bootstrap Modal with an iframe inside (linking back to local site )
This discussion has been closed.
Answers
Can you give me a link to a test case showing the issue, or are least show me the code you are using please? Doing a search in the DataTables source shows it doesn't use a variable called
opener
at all, so I guess it might be in an extension, or perhaps somewhere else. I'm afraid I have no idea what code is at line 5657 in whatever file that might be!Allan
This is the build that i downloaded. The file that is throwing the error is datatables.js
https://datatables.net/download/#dt/jq-2.2.0,dt-1.10.11,r-2.0.2
Thank you. This is the link to the file in question and the line:
is in jQuery itself.
I'm afraid I don't know why jQuery would be throwing an error there. I would need a link to a test page showing the issue so I can debug it please.
Allan