Author Topic: Javascript problem re-post  (Read 3791 times)

worteldrie

  • Nieuweling
  • *
Javascript problem re-post
« on: 16 September 2015, 07:49:34 »
Hi Fred,
To avoid spam I've used a liitle javascript to 'hide' the e-mailaddress. This worked fine in version 2.8. After a upgrade to 3.2 the javascript is shown in the webpage as text. I removed the javascript and used the normal mail link.
After saving the page everything looks fine. But when I go back to edit mode (I use the code-editor, not wysiwyg) the javascript is still there, also on the webpage when I check the source.
It looks like I can't delete the javascript. No problems when editing other things on the page.

Addition tp prev post >>>>Even when I delete the page completely and create a new page the javascript returns in my source code when I edit something (that has nothing to do with the javascript) later.

Any idea?
Rgds,
Rob.

Fred Stuurman

  • Forumbeheerder
  • Held
  • *****
Re: Javascript problem re-post
« Reply #1 on: 16 September 2015, 16:55:03 »
Rob,
The editor is disallowing javascript for security reason, you can switch this of in the environment settings.
With kind regards, Fred Stuurman
Main developer Syndeo CMS

worteldrie

  • Nieuweling
  • *
Re: Javascript problem re-post
« Reply #2 on: 8 October 2015, 06:59:40 »
Thanks Fred, problem solved.