View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
11784 | Feature requests | Survey taking | public | 2016-10-12 08:15 | 2018-04-06 11:48 |
Reporter | DenisChenu | Assigned To | DenisChenu | ||
Priority | none | Severity | feature | ||
Status | closed | Resolution | fixed | ||
Product Version | 3.0 | ||||
Target Version | 3.0 | Fixed in Version | 3.0 | ||
Summary | 11784: Replace alert + confirm in core system (?) | ||||
Description | Currently :
Maybe we must use some replacement in core. If we add just some 'global javascript langage string' => template manager can do it easily: yes / no / close / (some other) ? | ||||
Additional Information | Pros :
Cons:
| ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Story point estimate | |||||
Users affected % | |||||
related to | 11977 | closed | DenisChenu | Don't replace alert() javascript function |
related to | 11970 | closed | DenisChenu | create a template-default package |
In fact : it's not a feature request : really don't know what core must do. Maybe best choice is :
|
|
Currently I would vote for "let template manager update this js function". I still don't know why alert system is default. In LS 2.5 the showpopups=0 scope won't prevent dialogs in JS in certain situations, right? Cause I never saw a yes/no/cancel/confirm dialog inside html. |
|
confirm is used for Clear all button only actually. alert can be easily replaced in template : default template do it, but we can easily replace by a div at start of survey. alert is used when come back to a survey : if you don't answer a mandatory question for example. Maybe add some "langage string tool" :) |
|
Fixed in https://bugs.limesurvey.org/view.php?id=11970 core package use alert/confirm in a new function. template-default package update this function, template.js can update this function. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-10-12 08:15 | DenisChenu | New Issue | |
2016-10-12 08:17 | DenisChenu | Note Added: 41244 | |
2016-10-12 11:36 | jelo | Note Added: 41250 | |
2016-10-12 11:40 | DenisChenu | Note Added: 41252 | |
2016-11-14 17:26 |
|
Product Version | => 3.0 |
2016-11-14 17:26 |
|
Target Version | => 3.0 |
2016-12-10 14:22 | DenisChenu | Relationship added | related to 11977 |
2016-12-10 14:22 | DenisChenu | Relationship added | related to 11970 |
2016-12-10 14:24 | DenisChenu | Note Added: 42512 | |
2016-12-10 14:24 | DenisChenu | Assigned To | => DenisChenu |
2016-12-10 14:24 | DenisChenu | Status | new => resolved |
2016-12-10 14:24 | DenisChenu | Resolution | open => fixed |
2016-12-10 14:24 | DenisChenu | Fixed in Version | => 3.0 |
2018-04-06 11:48 |
|
Status | resolved => closed |