Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

JS error on the compose page

Quote Reply
JS error on the compose page
Hi,

I've got this error on the compose page with the latest version. I tried on the demo on the server of GT and also got this. Is this a js bug or something else?

Thanks,

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [tandat] JS error on the compose page In reply to
It's a javascript bug. I put up an update to fix it, but it looks like there's a bug with the update system with overwriting static files. So for now, here's a diff:
Code:
--- editor.js 14 Mar 2006 21:56:26 -0000 1.16
+++ editor.js 2 Apr 2006 21:00:14 -0000 1.17
@@ -230,7 +230,7 @@
6 : 'x-large',
7 : 'xx-large'
};
- this.objects.editableContent.style.fontSize = fontsize[this.config.defaultFontSize + (isMozilla ? 1 : 0)];
+ this.objects.editableContent.style.fontSize = fontsize[parseInt(this.config.defaultFontSize) + (isMozilla ? 1 : 0)];
this.objects.editableContent.style.backgroundColor = this.config.defaultBackground;

if (!isIE)

Adrian
Quote Reply
Re: [brewt] JS error on the compose page In reply to
Thanks Adrian,

I have updated but the error is still there. Can you update that on the http://freemail.gossamer-threads.com/webmail.cgi so that I can take a look?

Best regards,

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [tandat] JS error on the compose page In reply to
I already updated freemail.gossamer-threads.com and it works for me. Is your browser caching the editor.js file?

Adrian
Quote Reply
Re: [brewt] JS error on the compose page In reply to
Thanks for your confirmation.

Cheers,

Cheers,

Dat

Programming and creating plugins and templates
Blog