<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Hi Ensembl devs,</div><div class="im"><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div><font color="#222222" face="arial, sans-serif">I've installed a local version of Ensembl Genomes release 17 70 and I find some troubles with AJAX webpage refreshing.</font></div>

<div style><font color="#222222" face="arial, sans-serif">When I start the httpd </font><span style="color:rgb(34,34,34);font-family:arial,sans-serif">process </span><span style="color:rgb(34,34,34);font-family:arial,sans-serif">(for example Ensembl fungi), an error message is showed as follows:</span></div>

<div style><font color="#222222" face="courier new, monospace"><br></font></div><div style><font color="#222222"><div><font face="courier new, monospace">/usr/local/ensembl_bacteria/htdocs/minified/2726da28aef31bfd2ae4c565379d344e.js.tmp:12878: ERROR - Parse error. Internet Explorer has a non-standard intepretation of trailing commas. Arrays will have the wrong length and objects will not parse at all.</font></div>

<div><font face="courier new, monospace">});</font></div><div><font face="courier new, monospace"> ^</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">1 error(s), 0 warning(s)</font></div>

<div><br></div></font></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><span style="color:rgb(34,34,34)">In spite of this error, the httpd process continues and the Ensembl fungi starts. However this error causes that the generated javascript file ("/minified/xxxxxxxxxxxx.js) doesn't work correctly and the webpages never updates after a query (no AJAX refreshing).</span></div>

<div><span style="font-family:arial,sans-serif;font-size:12.727272033691406px;color:rgb(34,34,34)">The cause of this problem is in the new version of the file </span><font color="#222222" face="arial, sans-serif"><i>/eg-plugins/common/htdocs/components/99_ZMenu.js</i> (revision 1.23), a trailing comma that breaks the javascript generation (yesterday </font><span style="color:rgb(34,34,34);font-family:arial,sans-serif">this problem was fixed </span><font color="#222222" face="arial, sans-serif">in branch ensemblgenomes-17-70a</font><span style="color:rgb(34,34,34);font-family:arial,sans-serif">). Removing this trailing comma, Ensembl fungi, metazoa, plants and protists works, however Bacteria still not working.</span></div>

<div><span style="color:rgb(34,34,34);font-family:arial,sans-serif"><br></span></div><div style><span style="color:rgb(34,34,34);font-family:arial,sans-serif">For bacteria module, the </span><font color="#222222" face="arial, sans-serif">/eg-plugins/bacteria/htdocs/components/ directory contains some files used for the <i>minified </i>javascript generation<i> </i>and I think that there could be the problem.</font></div>

<div style><font color="#222222" face="arial, sans-serif">When I remove the trailing comma in </font><i style="color:rgb(34,34,34);font-family:arial,sans-serif">/eg-plugins/common/htdocs/components/99_ZMenu.js, </i><font color="#222222" face="arial, sans-serif">2 more similar errors are thrown. </font></div>

<div style><span style="color:rgb(34,34,34);font-family:arial,sans-serif">I'm trying to fix the problem but I can't find the cause. Any idea?</span></div><div style><span style="color:rgb(34,34,34);font-family:arial,sans-serif"><br>

</span></div><div style><span style="color:rgb(34,34,34);font-family:arial,sans-serif">Thank you and regards,</span></div><div style><br></div></div><div><font style="color:rgb(102,102,102)"><span style="font-family:tahoma,sans-serif">Rafa Hernández de Diego </span></font><br>

<div><div><font color="#999999" style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br class="">SLU-Global Bioinformatics </font><font color="#999999" face="arial, sans-serif">Center</font></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">

<div><font color="#999999">Swedish University for Agricultural Sciences (SLU)</font></div><div><font face="arial, helvetica, sans-serif" color="#999999"><span style="line-height:16.3125px;text-align:-webkit-center">Gerda Nilssons väg 2,  </span><br style="line-height:16.3125px;text-align:-webkit-center">

<span style="line-height:16.3125px;text-align:-webkit-center">Box 7023, 750 07 Uppsala, Sweden.</span></font></div><div><font face="arial, helvetica, sans-serif" color="#999999"><span style="line-height:16.3125px;text-align:-webkit-center"><br>

</span></font></div><div><font face="arial, helvetica, sans-serif" color="#999999"><span style="line-height:16.3125px;text-align:-webkit-center"><br></span></font></div></div></div></div>
</div>