View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
12700 | Bug reports | Theme editor | public | 2017-09-25 12:01 | 2017-10-25 11:12 |
Reporter | tammo | Assigned To | |||
Priority | none | Severity | minor | ||
Status | closed | Resolution | won't fix | ||
Product Version | 3.0.0-beta.x | ||||
Target Version | 3.0.x | Fixed in Version | 3.0.0-beta.x | ||
Summary | 12700: Javascript error: Use '===' to compare with ''. | ||||
Description | Copied minimal template to TFR minimal (using template editor). When viewing the javascript I see many warnings. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 3.0 beta GIT | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome | ||||
Database type & version | MySQL | ||||
Server OS (if known) | W10 | ||||
Webserver software & version (if known) | Apache | ||||
PHP Version | 5.5.30 | ||||
Where exactly is the error? |
|
I am not sure it it is an error, but I saw many warnings (see image) and when I hover over the warnings, it gave me the text |
|
Ahh, no that's expected behaviour. In the case that is visible in the screenshot, you can safely ignore the warnings. |
|
OK, thank you! |
|
« you will get help to write better code by the eslint functionality» maybe WE need to apply it in included model (if needed) and here .text().trim(), we can use === without any issue :) |
|
3.0.0-RC1 Build 171025 released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-09-25 12:01 | tammo | New Issue | |
2017-09-25 12:01 | tammo | Status | new => assigned |
2017-09-25 12:01 | tammo | Assigned To | => LouisGac |
2017-09-25 12:01 | tammo | File Added: javascript.png | |
2017-09-25 12:52 |
|
Assigned To | LouisGac => markusfluer |
2017-09-25 15:35 |
|
Note Added: 44462 | |
2017-09-25 15:37 | tammo | Note Added: 44463 | |
2017-09-25 15:57 |
|
Status | assigned => resolved |
2017-09-25 15:57 |
|
Resolution | open => won't fix |
2017-09-25 15:57 |
|
Note Added: 44464 | |
2017-09-25 16:18 | tammo | Note Added: 44465 | |
2017-09-27 13:25 | DenisChenu | Note Added: 44492 | |
2017-10-12 09:19 | c_schmitz | Fixed in Version | => 3.0.0-beta.x |
2017-10-25 11:12 | c_schmitz | Note Added: 44844 | |
2017-10-25 11:12 | c_schmitz | Status | resolved => closed |