View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
20001 | Bug reports | Theme editor | public | 2025-03-07 17:07 | 2025-05-03 21:59 |
Reporter | mguzzinati | Assigned To | c_schmitz | ||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | no change required | ||
Product Version | 6.6.x | ||||
Summary | 20001: JavaScript error and "JavaScript disabled" warning in Theme Editor Welcome page preview. | ||||
Description | After a fresh installation of LimeSurvey, when opening the Theme Editor and previewing the Welcome page of any theme (e.g., Fruity), a warning message appears at the top of the preview: "Caution: JavaScript execution is disabled in your browser or for this website. You may not be able to answer all questions in this survey. Please, verify your browser parameters." This message is incorrect because JavaScript is fully enabled in the browser. Additionally, the Welcome page preview displays with broken styles (misaligned elements, incorrect formatting), and the browser console logs multiple JavaScript errors, such as: | ||||
Steps To Reproduce | Steps to reproduceInstall a fresh version of LimeSurvey. Login to the LimeSurvey administration panel. Go to Configuration > Themes. Select a theme, for example "Fruity". Open the Theme Editor. In the preview section of welcome screen, I can see the theme preview, but at the top of the preview I also see the following message: "Caution: JavaScript execution is disabled in your browser or for this website. You may not be able to answer all questions in this survey. Please, verify your browser parameters." Expected resultWhen opening the Theme Editor for a theme (e.g., Fruity), the Welcome page preview should appear correctly, fully styled according to the theme. Actual resultAfter opening the Theme Editor and loading the preview of the Welcome page, the preview displays with the following issues: At the top of the preview, the following warning message appears: "Caution: JavaScript execution is disabled in your browser or for this website. You may not be able to answer all questions in this survey. Please, verify your browser parameters." This message is incorrect, because JavaScript is fully enabled in the browser. The Welcome page preview itself has graphical issues, including: Some elements appear misaligned. Uncaught ReferenceError: LSvar is not defined | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 6.10.5 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | firefox, chrome | ||||
Database type & version | postgres | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 8.2 | ||||
I also encountered the same problem in version 6.12.0 |
|
I also encountered the same problem in version 6.12.1 |
|
sorry, is there any news? thanks |
|
The message is part of the theme preview. |
|
Thank you for your reply. I understand that the message is intended to demonstrate how the theme handles JavaScript-disabled browsers. In the current version, this message is always shown at the top of the preview, even though JavaScript is enabled. Because of these errors: Any modification made in the editor is not reflected in the preview, making the theme editor practically unusable. The visual preview does not update properly or appears broken, which defeats the purpose of having a live preview while editing. I believe this is a regression and not intended behavior. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2025-03-07 17:07 | mguzzinati | New Issue | |
2025-03-07 17:07 | mguzzinati | File Added: Screenshot 2025-03-07 170549.png | |
2025-03-07 17:07 | mguzzinati | File Added: Screenshot 2025-03-07 170659.png | |
2025-03-17 11:33 | mguzzinati | Note Added: 82257 | |
2025-03-17 11:33 | mguzzinati | Bug heat | 0 => 2 |
2025-03-20 16:01 | mguzzinati | Note Added: 82299 | |
2025-04-14 11:49 | mguzzinati | Note Added: 82421 | |
2025-04-29 13:27 | c_schmitz | Assigned To | => c_schmitz |
2025-04-29 13:27 | c_schmitz | Status | new => closed |
2025-04-29 13:27 | c_schmitz | Resolution | open => no change required |
2025-04-29 13:27 | c_schmitz | Note Added: 82522 | |
2025-04-29 13:27 | c_schmitz | Bug heat | 2 => 4 |
2025-05-03 21:59 | mguzzinati | Note Added: 82561 |