AnsweredAssumed Answered

Share in an IFrame on IE8 - JS errors

Question asked by groberts on Mar 21, 2013
Latest reply on Mar 21, 2013 by groberts
I've read several issues here about the Share repository shown in an <strong>IFrame</strong> on <strong>IE8</strong> ,  but still have a problem that I have been stuck with for days.  (I am stuck with IE8 too because of client requirements)

If I view the exact same page, http://some.alfresco.site/share/page/repository,  without an IFrame, but with the same server/browser stack (Alfresco 4.2-c) it all works,  however inside an IFrame I get a JS error in;

share/js/forms-runtime.js at line 1426


errorFieldId = document.activeElement.id || null


which I guess means that document.activeElement is null

Anyone know why document.activeElement would be null in an IFrame ?

From the user's point of view, the effect is that she suddenly can no longer click on a folder to open it.  Oddly, it works for a while and then stops working.

The outer and inner page do not interact once the IFrame is rendered, so I don't think its anything to do with different domains.

Could it be connected with the HistoryManager working in an IFrame ?  I ask this because comparing the two outputs from log4javascript,  the working outputs this


HistoryManager: filter changed:path …….


while the IFrame version is silent, as if the call is not made.

(Could it be related to http://forums.alfresco.com/forum/end-user-discussions/alfresco-share/alfresco-cant-load-document-library-iframe-07012011-1752 ?)
Thanks.

Outcomes