<html><body style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 12px;">I'd be cautious of saying it is preview - perhaps it is the file button?<br /><br />try not setting focus? that seems a possible route?<br /> <br />Pgogy Webstuff http://www.pgogywebstuff.com<div>Makers of Web things of a fair to middling quality</div><br /><blockquote><br />----- Original Message -----<br /><div style="width:100%;background:rgb(228,228,228);"><div style="font-weight:bold;">From:</div> "For Xerte technical developers" <xerte-dev@lists.nottingham.ac.uk></div><br /><div style="font-weight:bold;">To:</div>"For Xerte technical developers (xerte-dev@lists.nottingham.ac.uk)" <xerte-dev@lists.nottingham.ac.uk><br /><div style="font-weight:bold;">Cc:</div><br /><div style="font-weight:bold;">Sent:</div>Fri, 10 May 2013 14:54:16 +0100<br /><div style="font-weight:bold;">Subject:</div>[Xerte-dev] Re: wizard files and modules<br /><br /><br /><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">It boils down to this:</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;"></span></p><p> </p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">function preview(){</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;"></span></p><p> </p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;"></span></p><p> </p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                if(_root.apache!="false"){</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">           </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     url = "preview_" + _root.template_id;</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                }else{</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     url = "preview.php?template_id=" + _root.template_id;</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                }</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;"></span></p><p> </p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;"></span></p><p> </p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                saveFile();</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                ExternalInterface.call("hideunload");</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;"></span></p><p> </p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);");                          </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                                                </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;"></span></p><p> </p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;"></span></p><p> </p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">}</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;"></span></p><p> </p><p></p><div><div style="border:none;border-top:solid #B5C4DF 1pt;padding:3pt 0cm 0cm 0cm;"><p class="MsoNormal"><b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us">From:</span></b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us"> Tenney Julian <br /><b>Sent:</b> 10 May 2013 14:51<br /><b>To:</b> 'For Xerte technical developers'<br /><b>Subject:</b> RE: [Xerte-dev] Re: wizard files and modules</span></p><p></p><p></p></div></div><p class="MsoNormal"></p><p> </p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">Here be function preview() (I’m guessing you can’t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?)</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">Probably next week though, I have to go soon,</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;"></span></p><p> </p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">function preview(){</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;"></span></p><p> </p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">     if (xerte){</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">           </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">           if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">           </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                saveFile();</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                                </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">           } else {//play it in Xerte</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">           </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                //if shift is down, jump straight to this page</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                if (Key.isDown(Key.SHIFT)){</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     if (tree.selectedNode.attributes.linkID == undefined){</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                           tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime();</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     }</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     //set the linkID in _level0 of the runtime (it is deleted after onInit is fired)</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|");</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                } </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                saveFile();</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                this.mode = 'preview';</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;"></span></p><p> </p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                //show the preview form</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                mdm.form_show("preview");</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                mdm.form_restore("preview");</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                //fire up the piece</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                mdm.form_callfunction("preview", "setMode", mode, "|");</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">           }</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;"></span></p><p> </p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">     } else { //this is toolkits - play or post?</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">           </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">           if (wizard.nfoObject.wizard.runtime != undefined){</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     if(_root.apache!="false"){</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                           url = "preview_" + _root.template_id;</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                           </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     }else{</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                           </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                           url = "preview.php?template_id=" + _root.template_id;</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                           </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     }</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     saveFile();</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     ExternalInterface.call("hideunload");</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;"></span></p><p> </p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);");                           </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                } else {</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     saveFile();</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     wizard.createEmptyMovieClip('getURLHelper', 9999);</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     wizard.getURLHelper.data = KOData.format();</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST");</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                }</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">           } else {</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                if (Key.isDown(Key.CONTROL)){ //play the html5 version</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     if(_root.apache!="false"){</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                           url = "preview_" + _root.template_id + "&engine=other";</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                           </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     }else{</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                           </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                           url = "preview.php?template_id=" + _root.template_id + "&engine=other";</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                           </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     }</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                                                </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                } else {</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     if(_root.apache!="false"){</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                           url = "preview_" + _root.template_id;</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                           </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     }else{</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                           </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                           url = "preview.php?template_id=" + _root.template_id;</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                           </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     }</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                }</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;"></span></p><p> </p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                //if shift is down, jump straight to this page</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                if (Key.isDown(Key.SHIFT)){</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     if (tree.selectedNode.attributes.linkID == undefined){</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                           tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime();</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     }</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     if(_root.apache!="false"){</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                           url += '_' + tree.selectedNode.attributes.linkID;</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     }else{</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                           </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                           url += '&linkID=' + tree.selectedNode.attributes.linkID;</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                     }</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                } </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                saveFile();</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                ExternalInterface.call("hideunload");</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;"></span></p><p> </p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);");                          </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">                                                </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">           }</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">     }</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New';color:#1F497D;">}</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;"></span></p><p> </p><p></p><div><div style="border:none;border-top:solid #B5C4DF 1pt;padding:3pt 0cm 0cm 0cm;"><p class="MsoNormal"><b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us">From:</span></b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us"> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b><a href="mailto:xerte@pgogywebstuff.com">xerte@pgogywebstuff.com</a><br /><b>Sent:</b> 10 May 2013 14:38<br /><b>To:</b> For Xerte technical developers<br /><b>Subject:</b> [Xerte-dev] Re: wizard files and modules</span></p><p></p><p></p></div></div><p class="MsoNormal"></p><p> </p><p></p><p class="MsoNormal"><span style="font-size:9pt;font-family:'Helvetica Neue';">Windows 7<br />Firefox 20.1.0<br />Preview button doesn't work for anything once you've previewed<br />Flash Player 11.7<br /><br />Fine in Chrome<br />No Joy in FF<br /><br />have commented out all of the JS<br /><br />So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon?<br /><br />I'd put some fscommand("console.log") into the wizard.<br /> <br />Pgogy Webstuff <a href="http://www.pgogywebstuff.com">http://www.pgogywebstuff.com</a></span></p><p></p><p></p><div><p class="MsoNormal"><span style="font-size:9pt;font-family:'Helvetica Neue';">Makers of Web things of a fair to middling quality</span></p><p></p><p></p></div><blockquote style="margin-top:5pt;margin-bottom:5pt;"><p class="MsoNormal"><span style="font-size:9pt;font-family:'Helvetica Neue';"></span></p><p> </p><p></p><p class="MsoNormal"><span style="font-size:9pt;font-family:'Helvetica Neue';"><br />----- Original Message -----</span></p><p></p><p></p><div><div><p class="MsoNormal" style="background:#e4e4e4;"><b><span style="font-size:9pt;font-family:'Helvetica Neue';">From:</span></b></p><p></p><p></p></div><p class="MsoNormal" style="background:#e4e4e4;"><span style="font-size:9pt;font-family:'Helvetica Neue';">"For Xerte technical developers" <<a href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a>></span></p><p></p><p></p></div><p class="MsoNormal"><span style="font-size:9pt;font-family:'Helvetica Neue';"></span></p><p> </p><p></p><div><p class="MsoNormal"><b><span style="font-size:9pt;font-family:'Helvetica Neue';">To:</span></b></p><p></p><p></p></div><p class="MsoNormal"><span style="font-size:9pt;font-family:'Helvetica Neue';">"For Xerte technical developers" <<a href="mailto:xerte-dev@listsnottingham.ac.uk">xerte-dev@listsnottingham.ac.uk</a>></span></p><p></p><p></p><div><p class="MsoNormal"><b><span style="font-size:9pt;font-family:'Helvetica Neue';">Cc:</span></b></p><p></p><p></p></div><p class="MsoNormal"><span style="font-size:9pt;font-family:'Helvetica Neue';"></span></p><p> </p><p></p><div><p class="MsoNormal"><b><span style="font-size:9pt;font-family:'Helvetica Neue';">Sent:</span></b></p><p></p><p></p></div><p class="MsoNormal"><span style="font-size:9pt;font-family:'Helvetica Neue';">Fri, 10 May 2013 14:00:36 +0100</span></p><p></p><p></p><div><p class="MsoNormal"><b><span style="font-size:9pt;font-family:'Helvetica Neue';">Subject:</span></b></p><p></p><p></p></div><p class="MsoNormal" style="margin-bottom:12pt;"><span style="font-size:9pt;font-family:'Helvetica Neue';">[Xerte-dev] Re: wizard files and modules</span></p><p></p><p></p><div><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">More specifically 64bit Windows 7</span></p><p></p><p></p><p><span style="font-size:9pt;font-family:'Helvetica Neue';"> </span></p><p></p><p></p><div><div style="border:none;border-top:solid #B5C4DF 1pt;padding:3pt 0cm 0cm 0cm;"><p class="MsoNormal"><b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us">From:</span></b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us"> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Julian Tenney<br /><b>Sent:</b> 10 May 2013 13:58<br /><b>To:</b> For Xerte technical developers<br /><b>Subject:</b> [Xerte-dev] Re: wizard files and modules</span></p><p></p><p></p></div></div><p><span style="font-size:9pt;font-family:'Helvetica Neue';"> </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">Difference is Windows 7 – everything else the same and I see the problem in both.</span></p><p></p><p></p><p><span style="font-size:9pt;font-family:'Helvetica Neue';"> </span></p><p></p><p></p><div><div style="border:none;border-top:solid #B5C4DF 1pt;padding:3pt 0cm 0cm 0cm;"><p class="MsoNormal"><b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us">From:</span></b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us"> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Fay Cross<br /><b>Sent:</b> 10 May 2013 13:57<br /><b>To:</b> For Xerte technical developers<br /><b>Subject:</b> [Xerte-dev] Re: wizard files and modules</span></p><p></p><p></p></div></div><p><span style="font-size:9pt;font-family:'Helvetica Neue';"> </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">Windows XP</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">Firefox 20.0.1</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">Flash 11.7.700.169</span></p><p></p><p></p><p><span style="font-size:9pt;font-family:'Helvetica Neue';"> </span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">Can’t recreate problem in XOT or Bootstrap, XAMPP or Nottingham install</span></p><p></p><p></p><p><span style="font-size:9pt;font-family:'Helvetica Neue';"> </span></p><p></p><p></p><div><div style="border:none;border-top:solid #B5C4DF 1pt;padding:3pt 0cm 0cm 0cm;"><p class="MsoNormal" style="margin-left:36pt;"><b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us">From:</span></b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us"> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottinghamac.uk</a>] <b>On Behalf Of </b>Julian Tenney<br /><b>Sent:</b> 10 May 2013 13:52<br /><b>To:</b> For Xerte technical developers<br /><b>Subject:</b> [Xerte-dev] Re: wizard files and modules</span></p><p></p><p></p></div></div><p><span style="font-size:9pt;font-family:'Helvetica Neue';"> </span></p><p></p><p></p><p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">It’s like doing the Guardian crossword…</span></p><p></p><p></p><p><span style="font-size:9pt;font-family:'Helvetica Neue';"> </span></p><p></p><p></p><p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">It would be good if everyone can test with the latest firefox and report back </span></p><p></p><p></p><p><span style="font-size:9pt;font-family:'Helvetica Neue';"> </span></p><p></p><p></p><p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">Create a project in Xerte Online Toolkit and Bootstrap</span></p><p></p><p></p><p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">Add a media thing, upload some, press play button in bottom right, close play window, upload media again</span></p><p></p><p></p><p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">Fails in Bootstrap?<br />Fails in Xerte Online Toolkit?</span></p><p></p><p></p><p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">Flash player version?</span></p><p></p><p></p><p><span style="font-size:9pt;font-family:'Helvetica Neue';"> </span></p><p></p><p></p><p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">If you don’t close the preview window it continues to work OK.</span></p><p></p><p></p><p><span style="font-size:9pt;font-family:'Helvetica Neue';"> </span></p><p></p><p></p><p><span style="font-size:9pt;font-family:'Helvetica Neue';"> </span></p><p></p><p></p><div><div style="border:none;border-top:solid #B5C4DF 1pt;padding:3pt 0cm 0cm 0cm;"><p class="MsoNormal" style="margin-left:36pt;"><b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us">From:</span></b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us"> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.acuk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Tom Reijnders<br /><b>Sent:</b> 10 May 2013 13:40<br /><b>To:</b> For Xerte technical developers<br /><b>Subject:</b> [Xerte-dev] Re: wizard files and modules</span></p><p></p><p></p></div></div><p><span style="font-size:9pt;font-family:'Helvetica Neue';"> </span></p><p></p><p></p><p class="MsoNormal" style="margin-bottom:12pt;margin-left:36pt;">What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different.</p><p></p><p></p><div><p class="MsoNormal" style="margin-left:36pt;">Op 10-5-2013 14:33, Julian Tenney schreef:</p><p></p><p></p></div><blockquote style="margin-top:5pt;margin-bottom:5pt;"><p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">Probably before I realised that we had the same files in lots of different places</span></p><p></p><p></p><p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;"> </span></p><p></p><p></p><div><div style="border:none;border-top:solid #B5C4DF 1pt;padding:3pt 0cm 0cm 0cm;"><p class="MsoNormal" style="margin-left:36pt;"><b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us">From:</span></b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us"> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b><a href="mailto:xerte@pgogywebstuff.com">xerte@pgogywebstuff.com</a><br /><b>Sent:</b> 10 May 2013 13:28<br /><b>To:</b> For Xerte technical developers<br /><b>Subject:</b> [Xerte-dev] Re: wizard files and modules</span></p><p></p><p></p></div></div><p class="MsoNormal" style="margin-left:36pt;"> </p><p></p><p></p><p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:9pt;font-family:Helvetica, 'sans-serif';"><a href="http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php">http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php</a><br /><br />You might not built the structures, but you set the path<br /><br /><br /> <br />Pgogy Webstuff <a href="http://www.pgogywebstuff.com">http://www.pgogywebstuff.com</a></span></p><p></p><p></p><div><p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:9pt;font-family:Helvetica, 'sans-serif';">Makers of Web things of a fair to middling quality</span></p><p></p><p></p></div><blockquote style="margin-top:5pt;margin-bottom:5pt;"><p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:9pt;font-family:Helvetica, 'sans-serif';"> </span></p><p></p><p></p><p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:9pt;font-family:Helvetica, 'sans-serif';"><br />----- Original Message -----</span></p><p></p><p></p><div><div><p class="MsoNormal" style="margin-left:36pt;background:#e4e4e4;"><b><span style="font-size:9pt;font-family:Helvetica, 'sans-serif';">From:</span></b></p><p></p><p></p></div><p class="MsoNormal" style="margin-left:36pt;background:#e4e4e4;"><span style="font-size:9pt;font-family:Helvetica, 'sans-serif';">"For Xerte technical developers" <<a href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a>></span></p><p></p><p></p></div><p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:9pt;font-family:Helvetica, 'sans-serif';"> </span></p><p></p><p></p><div><p class="MsoNormal" style="margin-left:36pt;"><b><span style="font-size:9pt;font-family:Helvetica, 'sans-serif';">To:</span></b></p><p></p><p></p></div><p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:9pt;font-family:Helvetica, 'sans-serif';">"For Xerte technical developers" <<a href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a>></span></p><p></p><p></p><div><p class="MsoNormal" style="margin-left:36pt;"><b><span style="font-size:9pt;font-family:Helvetica, 'sans-serif';">Cc:</span></b></p><p></p><p></p></div><p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:9pt;font-family:Helvetica, 'sans-serif';"> </span></p><p></p><p></p><div><p class="MsoNormal" style="margin-left:36pt;"><b><span style="font-size:9pt;font-family:Helvetica, 'sans-serif';">Sent:</span></b></p><p></p><p></p></div><p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:9pt;font-family:Helvetica, 'sans-serif';">Fri, 10 May 2013 13:11:19 +0100</span></p><p></p><p></p><div><p class="MsoNormal" style="margin-left:36pt;"><b><span style="font-size:9pt;font-family:Helvetica, 'sans-serif';">Subject:</span></b></p><p></p><p></p></div><p class="MsoNormal" style="margin-bottom:12pt;margin-left:36pt;"><span style="font-size:9pt;font-family:Helvetica, 'sans-serif';">[Xerte-dev] Re: wizard files and modules</span></p><p></p><p></p><div><p class="MsoNormal" style="margin-left:36pt;"><span style="color:#1F497D;">Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there.</span></p><p></p><p></p><p style="margin-left:36pt;"><span style="font-size:9pt;font-family:Helvetica, 'sans-serif';"> </span><span style="font-size:9pt;font-family:'Helvetica Neue';"></span></p><p></p><p></p><div><div style="border:none;border-top:solid #B5C4DF 1pt;padding:3pt 0cm 0cm 0cm;"><p class="MsoNormal" style="margin-left:36pt;"><b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us">From:</span></b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us"> <a href="mailto:xerte-dev-bounces@lists.nottingham.acuk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Tom Reijnders<br /><b>Sent:</b> 10 May 2013 13:09<br /><b>To:</b> For Xerte technical developers<br /><b>Subject:</b> [Xerte-dev] Re: wizard files and modules</span></p><p></p><p></p></div></div><p style="margin-left:36pt;"><span style="font-size:9pt;font-family:Helvetica, 'sans-serif';"> </span><span style="font-size:9pt;font-family:'Helvetica Neue';"></span></p><p></p><p></p><p class="MsoNormal" style="margin-bottom:12pt;margin-left:36pt;">Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25....<br />As far as I can tell you copied the editphp from site over to xerte.</p><p></p><p></p><div><p class="MsoNormal" style="margin-left:36pt;">Op 10-5-2013 14:03, Julian Tenney schreef:</p><p></p><p></p></div><blockquote style="margin-top:5pt;margin-bottom:5pt;"><p class="MsoNormal" style="margin-left:36pt;">OK, now I am really confused.</p><p></p><p></p><p class="MsoNormal" style="margin-left:36pt;"> </p><p></p><p></p><p class="MsoNormal" style="margin-left:36pt;">When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine.</p><p></p><p></p><p class="MsoNormal" style="margin-left:36pt;"> </p><p></p><p></p><p class="MsoNormal" style="margin-left:36pt;">Any more cryptic pathing issues set up just for fun?</p><p></p><p></p><p class="MsoNormal" style="margin-left:36pt;"> </p><p></p><p></p><p class="MsoNormal" style="margin-left:36pt;">Sheesh.</p><p></p><p></p><p class="MsoNormal" style="margin-bottom:12pt;margin-left:36pt;"></p><p> </p><p></p><pre style="margin-left:36pt;">_______________________________________________</pre><p></p><pre style="margin-left:36pt;">Xerte-dev mailing list</pre><p></p><pre style="margin-left:36pt;"><a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a></pre><p></p><pre style="margin-left:36pt;"><a href="http://listsnottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.acuk/mailman/listinfo/xerte-dev</a></pre><p></p></blockquote><p class="MsoNormal" style="margin-bottom:12pt;margin-left:36pt;"> </p><p></p><p></p><pre style="margin-left:36pt;">-- </pre><p></p><pre style="margin-left:36pt;">--</pre><p></p><p style="margin-left:36pt;"><span style="font-size:9pt;font-family:Helvetica, 'sans-serif';"> </span><span style="font-size:9pt;font-family:'Helvetica Neue';"></span></p><p></p><p></p><pre style="margin-left:36pt;">Tom Reijnders</pre><p></p><pre style="margin-left:36pt;">TOR Informatica</pre><p></p><pre style="margin-left:36pt;">Chopinlaan 27</pre><p></p><pre style="margin-left:36pt;">5242HM Rosmalen</pre><p></p><pre style="margin-left:36pt;">Tel: 073 5226191</pre><p></p><pre style="margin-left:36pt;">Fax: 073 5226196</pre><p></p><p style="margin-left:36pt;"><span style="font-size:9pt;font-family:Helvetica, 'sans-serif';"> </span><span style="font-size:9pt;font-family:'Helvetica Neue';"></span></p><p></p><p></p></div><p><span style="font-size:9pt;font-family:'Helvetica Neue';"> </span></p><p></p><p></p></blockquote><p><span style="font-size:9pt;font-family:'Helvetica Neue';"> </span></p><p></p><p></p><pre style="margin-left:36pt;">_______________________________________________</pre><p></p><pre style="margin-left:36pt;">Xerte-dev mailing list</pre><p></p><pre style="margin-left:36pt;"><a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a></pre><p></p><pre style="margin-left:36pt;"><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a></pre><p></p></blockquote><p><span style="font-size:9pt;font-family:'Helvetica Neue';"> </span></p><p></p><p></p><pre style="margin-left:36pt;">-- </pre><p></p><pre style="margin-left:36pt;">--</pre><p></p><p><span style="font-size:9pt;font-family:'Helvetica Neue';"> </span></p><p></p><p></p><pre style="margin-left:36pt;">Tom Reijnders</pre><p></p><pre style="margin-left:36pt;">TOR Informatica</pre><p></p><pre style="margin-left:36pt;">Chopinlaan 27</pre><p></p><pre style="margin-left:36pt;">5242HM Rosmalen</pre><p></p><pre style="margin-left:36pt;">Tel: 073 5226191</pre><p></p><pre style="margin-left:36pt;">Fax: 073 5226196</pre><p></p><p><span style="font-size:9pt;font-family:'Helvetica Neue';"> </span></p><p></p><p></p></div><p class="MsoNormal" style="margin-bottom:12pt;"><span style="font-size:9pt;font-family:'Helvetica Neue';"></span></p><p> </p><p></p></blockquote></div>
</blockquote></body></html>