Project

General

Profile

Actions

Bug #73629

closed

JavaScript-Objects stripped in HTML-element

Added by Jeff C about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-02-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

My clients used the HTML-element to post the scripts for including external forms. In the rendered frontend the JavaScript-objects in those scripts are stripped and missing. We first noticed the problem in 7.6.3. It also exists in 7.6.4..

Example:

<script>
  xxx.forms.create({
    css: '',
    portalId: '474117',
    formId: 'XXX-XXX-XXX'
  });
</script>

becomes

<script>
  hbspt.forms.create();
</script>
Actions #1

Updated by Wouter Wolters about 8 years ago

  • Status changed from New to Needs Feedback

I can't reproduce this. Can you tell us a bit more about your setup?
Do you use css_styled_content or fluid_styled_content?
Does normal HTML work, no javascript?

Actions #2

Updated by Jeff C about 8 years ago

We use css_styled_content. Normal HTML does work, normal JavaScript too. Only JavaScript-Objects are for some reason removed... I can't tell more at the moment as I'm not at work right now but I will have a second look tomorrow. Maybe it's not a core-bug after all. Anyways, it used to work.

Actions #3

Updated by Jeff C about 8 years ago

You can close this!

It was a faulty typoscript-configuration. My bad.

Actions #4

Updated by Riccardo De Contardi about 8 years ago

  • Status changed from Needs Feedback to Closed

closed as requested by the author; thank you for your feedback!

Actions

Also available in: Atom PDF