Changeset 8611 for tags/release-0.4.2/src/io/xip_client.html
- Timestamp:
- 05/14/07 16:03:16 (20 months ago)
- Files:
-
- 1 modified
-
tags/release-0.4.2/src/io/xip_client.html (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tags/release-0.4.2/src/io/xip_client.html
r7055 r8611 6 6 <title></title> 7 7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> 8 <script type="text/javascript"> 8 <!-- Security protection: uncomment the script tag to enable. --> 9 <!-- script type="text/javascript" --> 9 10 // <!-- 10 11 /* … … 223 224 //Remove the query param for the IE7 recursive case. 224 225 xipServerUrl = fixServerUrl(config.server).replace(/(\?|\&)dojo\.fr\=1/, ""); 226 227 //Make sure we don't have a javascript: url, just for good measure. 228 if(xipServerUrl.split(":")[0].match(/javascript/i)){ 229 throw "Invalid server URL"; 230 } 231 225 232 xipUseFrameRecursion = config["fr"]; 226 233 … … 235 242 236 243 var clientUrl = window.location.href.split("#")[0]; 237 document.getElementById("iframeHolder").innerHTML = '<iframe src="' 238 + makeServerUrl("init", 'id=' + xipStateId + '&client=' + encodeURIComponent(clientUrl) 239 + '&fr=' + xipUseFrameRecursion) + '" id="' + xipStateId + '_frame"></iframe>'; 240 241 244 var iframeNode = document.getElementsByTagName("iframe")[0]; 245 iframeNode.id = xipStateId + "_frame"; 246 iframeNode.src = makeServerUrl("init", 'id=' + xipStateId + '&client=' 247 + encodeURIComponent(clientUrl) + '&fr=' + xipUseFrameRecursion); 242 248 } 243 249 … … 257 263 internally by dojo.io.XhrIframeProxy.</p> 258 264 259 < span id="iframeHolder"></span>265 <iframe src="javascript:false"></iframe> 260 266 </body> 261 267 </html>