<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi (this is probably for Nikodem),<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I saw a console error in xenith.js yesterday when debugging a video issue from the Forum that I can’t seem to reproduce (and can’t even remember which browser it was in, perhaps a Mac or Linux on…) but it might be worth keeping an eye out
for if you are developing any of the javascript engine…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">From memory, this code appeared to be the culprit (but as I say it’s not doing it in Chrome or Firefox now after recent trunk updates) – Lines 145-160 R1031<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> if (x_pages.length < 2) {<o:p></o:p></p>
<p class="MsoNormal"> // don't show navigation options if there's only one page
<o:p></o:p></p>
<p class="MsoNormal"> $("#x_footerBlock .x_floatRight").remove();<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> } else {<o:p></o:p></p>
<p class="MsoNormal"> if (x_params.navigation == undefined) {<o:p></o:p></p>
<p class="MsoNormal"> x_params.navigation = "Linear";<o:p></o:p></p>
<p class="MsoNormal"> }<o:p></o:p></p>
<p class="MsoNormal"> if (x_params.navigation != "Linear" && x_params.navigation != "Historic" && x_params.navigation != undefined) { // 1st page is menu<o:p></o:p></p>
<p class="MsoNormal"> x_pages.splice(0, 0, "menu");<o:p></o:p></p>
<p class="MsoNormal"> var page = new Object();<o:p></o:p></p>
<p class="MsoNormal"> page.type = "menu";<o:p></o:p></p>
<p class="MsoNormal"> page.built = false;<o:p></o:p></p>
<p class="MsoNormal"> x_pageInfo.splice(0, 0, page);<o:p></o:p></p>
<p class="MsoNormal"> }<o:p></o:p></p>
<p class="MsoNormal"> }<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Basically Fay added this code in to hide the navigation when there is only one page. However, it seems to me anyway that, when there’s more than 1 template page the page object is created and page.type and page.built are set… these are
then used later on… but they give an undefined console error when there is only one page as page hasn’t been defined…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This is the last thing on my list before getting back to working on the API and making a proper start on the HTML5 editor so would appreciate it if you had time to take a quick look and see if you can reproduce and fix…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">PS, Fay probably passed on the google doc bug/features sheets to you before she left. If you are planning to keep them relatively up to date with the Javascript engine developments then I will usually dip in there when I need a welcome
break from PHP and give you a hand… alternatively if want a fresh pair of eyes casting over any code then just drop me an email on or off list…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">John Smith<o:p></o:p></p>
<p class="MsoNormal">Learning Technologist<o:p></o:p></p>
<p class="MsoNormal">School of Health & Life Sciences<o:p></o:p></p>
<p class="MsoNormal">Glasgow Caledonian University<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<font face="Arial" color="Gray" size="2">Glasgow Caledonian University is a registered Scottish charity, number SC021474<br>
<br>
Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.<br>
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html<br>
<br>
Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.<br>
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html<br>
</font>
</body>
</html>