Project

General

Profile

Revision 4494

try IE work around for iframe access

View differences:

first-assessment-resultset.xsl
162 162
			}	
163 163
			isInCart = function(docid) {
164 164
		
165
				var objs = window.document.getElementById("iframeheaderclass").contentDocument.getElementsByName("@packageId");
165
				var iframe = window.document.getElementById("iframeheaderclass").contentDocument;
166
				var doc = iframe.contentDocument;
167
				if (!doc) {
168
					doc = iframe.contentWindow.document;
169
				}
170
				var objs = doc.getElementsByName("@packageId");
171
				
166 172
				//var objs = document.getElementsByName("@packageId");
167 173
				if (objs.length == 0) {
168 174
					return false;

Also available in: Unified diff