Ajax error for Logged in users when the block contains the webform has custom CSS

Created on 25 September 2023, over 1 year ago

Problem/Motivation

If the webform has the custom CSS and this is added in a block. For the logged in users block is not loading, showing the AJAX error.

Refused to execute script from 'https://dev.gavi.org/webform/css/feedback?s1agpk&s1agpk' because its MIME type ('text/css') is not executable, and strict MIME type checking is enabled.
 
An error occurred during the execution of the Ajax response: The following files could not be loaded: /webform/css/feedback?s1agpk&s1agpk0

Steps to reproduce

  1. Create a Webform
  2. Add CSS to the webform
  3. Place the webform in a block
  4. This block is not visible for the logged in users (Getting the Ajax error), Where as this is visible for the Anonymous users

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

6.2

Component

Code

Created by

🇮🇳India sivaprasadc

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024