View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
08735 | Bug reports | Theme editor | public | 2014-02-17 19:43 | 2014-02-26 17:31 |
Reporter | sth | Assigned To | DenisChenu | ||
Priority | high | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.05+ | ||||
Fixed in Version | 2.05+ | ||||
Summary | 08735: "Exit and clear survey" button text is a link <a> which adopts the <a> CSS-style (color) | ||||
Description | As soon as the "a:link, a:visited" CSS color of a template is beeing defined, the "Exit and clear survey" button text adopts the link color because the text isn't a <button> anymore, it has an <a> tag now. | ||||
Steps To Reproduce | Open a survey with e.g. the "default" template, take a look at the "Exit and clear survey" button - it has a different color (link color). | ||||
Additional Information | Every 2.0 template where a link color is defined shows the same problem. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 14 | ||||
Complete LimeSurvey version number (& build) | 131219 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome (Mac) | ||||
Database type & version | Mysql 5 | ||||
Server OS (if known) | Apache 2 | ||||
Webserver software & version (if known) | Apache 2 | ||||
PHP Version | 5.3 | ||||
related to | 08772 | closed | DenisChenu | Escaping single quotes in gT translation method output string isn't safe |
I think we lack a little backwards compatibility here and since the "wrong" link can be a little annoying when having your own CSS link styles, we should make this work as at Limesurvey 2.0. |
|
Over to you Denis - https://github.com/LimeSurvey/LimeSurvey/commit/cd16db1dc0ae63e1d462991206b0a3afe6f89aac |
|
No button, leave a link but fix included template. We don't have global css actually, then can not fix for all. |
|
Denis, I don't consider fixing the shipped templates a reasonable solution. What about all those users with custom templates? They all need to adjust their templates as well. |
|
We already broke a lot of user template between 2.0 and 2.05. And here, it's only a css issue. All citronade based template are completely broken: JS broken ... PS: why not stick to original : because clear all is a link, it's really a link. Why don't use link if it's a link ? |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=13908 |
|
We can do : But i think it's not really needed. Topic for tomorrow ;) |
|
Denis, thanks for the fix but I think we should discuss this at today's DEV meeting because from my point of view there can be a far easier fix and I don't see the benefit of your solution for our users. |
|
Benefits : a link is a link. Work in all browser even without javascript. More clean for screen reader (tested by a friend of mine). |
|
I don't think that just because of "We already broke a lot of user template between 2.0 and 2.05" that justifies breaking some more stuff. I don't understand what speaks against making this a button as it was at the previous Limesurvey 2.0 version. The current solution causes me quite some trouble using Limesurvey because I need to fix several custom templates manually and I am sure I am not the only user having that problem. |
|
Decision based on dev meeting.
This will solve the OPs problem and will remove 1 incorrect usage of HTTP GET. |
|
Why not move to $_POST and redirect ? With a confirmed=="Y" ? |
|
For remind : |
|
Think best is :
And after we can do it ajax : with a beatifull confirm box or with a javascript confirm() like now ... Remind: A window open only too ... |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=13912 |
|
Fix the button only : other must be in 2.06 or 2.1 |
|
I think that the solution with that extra dialog (separate form) is the best one, but as you said, for 2.06 or 2.1 |
|
Yes and need rewriting controllers/survey/index.php ..... |
|
2.05+ Build 140226 released |
|
LimeSurvey: master b47f30c1 2014-02-18 10:20 Details Diff |
Fixed issue 08735: "Exit and clear survey" css style for shiped template Dev: fix some issue with IE7 Dev: add button class to some other submit button |
Affected Issues 08735, 08772 |
|
mod - application/helpers/frontend_helper.php | Diff File | ||
mod - application/helpers/replacements_helper.php | Diff File | ||
mod - scripts/survey_runtime.js | Diff File | ||
mod - templates/basic/template.css | Diff File | ||
mod - templates/bluengrey/template.css | Diff File | ||
mod - templates/citronade/template.css | Diff File | ||
mod - templates/default/template.css | Diff File | ||
mod - templates/eirenicon/template.css | Diff File | ||
mod - templates/limespired/template.css | Diff File | ||
mod - templates/mint_idea/template.css | Diff File | ||
mod - templates/sherpa/template.css | Diff File | ||
mod - templates/vallendar/template.css | Diff File | ||
LimeSurvey: master 8c9c6382 2014-02-20 10:01 Details Diff |
Fixed issue 08735: "Exit and clear survey" button text is a link <a> which adopts the <a> CSS-style (color) Dev: Fix the button only, other must be in dev for 2.06 or 2.1 |
Affected Issues 08735 |
|
mod - application/helpers/SurveyRuntimeHelper.php | Diff File | ||
mod - application/helpers/frontend_helper.php | Diff File | ||
mod - application/helpers/replacements_helper.php | Diff File | ||
mod - scripts/survey_runtime.js | Diff File | ||
LimeSurvey: master ad7e7026 2014-02-20 10:34 Details Diff |
Dev: 08735 : use text for confirm not html |
Affected Issues 08735 |
|
mod - application/helpers/replacements_helper.php | Diff File | ||
mod - scripts/survey_runtime.js | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-02-17 19:43 | sth | New Issue | |
2014-02-17 19:43 | sth | File Added: problem.jpg | |
2014-02-17 20:55 | Mazi | Assigned To | => tpartner |
2014-02-17 20:55 | Mazi | Status | new => assigned |
2014-02-17 20:56 | Mazi | Note Added: 28800 | |
2014-02-17 21:07 | tpartner | Note Added: 28801 | |
2014-02-17 21:08 | tpartner | Assigned To | tpartner => DenisChenu |
2014-02-17 22:24 | DenisChenu | Note Added: 28803 | |
2014-02-18 09:14 | Mazi | Note Added: 28805 | |
2014-02-18 10:18 | DenisChenu | Note Added: 28806 | |
2014-02-18 10:18 | DenisChenu | Note Edited: 28806 | |
2014-02-18 10:18 | DenisChenu | Note Edited: 28806 | |
2014-02-18 10:19 | DenisChenu | Note Edited: 28806 | |
2014-02-18 10:20 | DenisChenu | Changeset attached | => LimeSurvey master b47f30c1 |
2014-02-18 10:20 | DenisChenu | Note Added: 28807 | |
2014-02-18 10:20 | DenisChenu | Resolution | open => fixed |
2014-02-18 10:27 | DenisChenu | Note Added: 28808 | |
2014-02-18 10:30 | DenisChenu | Note Edited: 28808 | |
2014-02-18 10:39 | Mazi | Note Added: 28809 | |
2014-02-18 10:42 | DenisChenu | Note Added: 28810 | |
2014-02-18 11:41 | sth | Note Added: 28811 | |
2014-02-18 15:28 | Mazi | Issue Monitored: c_schmitz | |
2014-02-19 14:13 | sammousa | Note Added: 28819 | |
2014-02-19 14:23 | DenisChenu | Note Added: 28820 | |
2014-02-19 18:10 | DenisChenu | Note Added: 28827 | |
2014-02-19 19:14 | DenisChenu | Note Added: 28828 | |
2014-02-20 08:38 | DenisChenu | Note Edited: 28828 | |
2014-02-20 08:40 | DenisChenu | Note Edited: 28828 | |
2014-02-20 10:01 | DenisChenu | Changeset attached | => LimeSurvey master 8c9c6382 |
2014-02-20 10:01 | DenisChenu | Note Added: 28830 | |
2014-02-20 10:02 | DenisChenu | Note Added: 28831 | |
2014-02-20 10:02 | DenisChenu | Status | assigned => resolved |
2014-02-20 10:02 | DenisChenu | Fixed in Version | => 2.05+ |
2014-02-20 10:36 | DenisChenu | Changeset attached | => LimeSurvey master ad7e7026 |
2014-02-20 11:29 | c_schmitz | Note Added: 28832 | |
2014-02-20 12:48 | DenisChenu | Note Added: 28833 | |
2014-02-26 13:32 | c_schmitz | Note Added: 28948 | |
2014-02-26 13:32 | c_schmitz | Status | resolved => closed |
2014-02-26 17:31 | DenisChenu | Relationship added | related to 08772 |
2015-12-11 14:40 | c_schmitz | Category | Templates => Theme editor |
2021-08-03 10:06 | guest | Bug heat | 12 => 14 |