IE 6/7 Javascript Error

Hi,

I stumbled over a javascript error while I tried to look at my Vaadin 6.2 application in the Internet Explorer 6 resp. 7.
The error occurs because there is a comma set at the end of the array:


vaadin.vaadinConfigurations["idtscui-1672174365"]
 = 
{
	appUri:'/idtsc-ui', 
	pathInfo: '/', 
	themeUri:'/idtsc-ui/VAADIN/themes/idtsc', 
	versionInfo : 
	{
		vaadinVersion:"6.2.6.dev-20100302",
		applicationVersion:"NONVERSIONED"
	},
};

After a search in the sources there are two places raising this error:

  • AbstractApplicationServlet#writeAjaxPageHtmlVaadinScripts
  • AbstractApplicationPortlet#writeAjaxPage

The solution is simple. Just move the comma to the next page.write().

While a minor issue, created
a ticket
.