View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
05804 | Bug reports | Survey taking | public | 2012-02-10 04:50 | 2012-03-14 21:08 |
Reporter | TMSWhite | Assigned To | TMSWhite | ||
Priority | high | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.92RC3 | ||||
Target Version | 1.92RC4 | Fixed in Version | 1.92RC4 | ||
Summary | 05804: Equation question type does not work in all templates | ||||
Description | It works in default. It does not work in basic. Have not tested other templates. | ||||
Additional Information | The issue is how it extracts the tailored result at run-time to populate the hidden variable. For the default template, this works fine: $('#java48741X174X2222').val(escape(jQuery.trim(LEMstrip_tags($('#question2222 .questiontext').find('span').next().next().html()))).replace(/%20/g,' ') but .questiontext is only used in default and bluengrey, even though it is references within all of the template.css files. | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 12414 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | Mysql 5.3 | ||||
Server OS (if known) | Windows XP | ||||
Webserver software & version (if known) | XAMPP | ||||
PHP Version | 5.3 | ||||
Hello Tom, Can you put a "very little" example survey. Maybe i can have a look to have a more simple jquery way. ;) |
|
Fixed in revision 12432 |
|
Just a little remark. With revision 12432 , now there are a span arround all question text. Maybe question text have <div> or <p> etc ... To validate HTML4 restriction, no div in span. |
|
<div> is fine, as long as doesn't add any extra padding. I just need a reliable tag to which to attach .em_equation so that I can extract the contents of {QUESTION_TEXT}. Would <div> do that reliably, or would we need to add to template.css so that div.em_equation doesn't have any extra formatting inherited from other div classes? |
|
1.92RC4 released |
|
LimeSurvey: Yii 5ed87d45 2012-02-10 07:34:27 Details Diff |
Fixed issue 05804: Equation question type does not work in all templates Dev it will now work properly in any existing or customized template git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_yii@12434 b72ed6b6-b9f8-46b5-92b4-906544132732 |
Affected Issues 05804 |
|
mod - application/helpers/SurveyRuntimeHelper.php | Diff File | ||
mod - application/helpers/expressions/em_manager_helper.php | Diff File | ||
mod - application/helpers/replacements_helper.php | Diff File | ||
LimeSurvey: Yii 359bff45 2012-02-10 09:26:49 Details Diff |
Fixed issue 05804: Equation question type does not work in all templates Dev switched to using <div> instead of <span> to ensure passes HTML4 validation git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_yii@12438 b72ed6b6-b9f8-46b5-92b4-906544132732 |
Affected Issues 05804 |
|
mod - application/helpers/replacements_helper.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-02-10 04:50 | TMSWhite | New Issue | |
2012-02-10 04:50 | TMSWhite | Status | new => assigned |
2012-02-10 04:50 | TMSWhite | Assigned To | => TMSWhite |
2012-02-10 14:13 | DenisChenu | Note Added: 17351 | |
2012-02-10 16:25 | TMSWhite | Note Added: 17357 | |
2012-02-10 16:25 | TMSWhite | Status | assigned => resolved |
2012-02-10 16:25 | TMSWhite | Fixed in Version | => 1.92RC4 |
2012-02-10 16:25 | TMSWhite | Resolution | open => fixed |
2012-02-10 17:05 | DenisChenu | Note Added: 17360 | |
2012-02-10 17:10 | TMSWhite | Note Added: 17361 | |
2012-02-14 14:10 | c_schmitz | Note Added: 17399 | |
2012-02-14 14:10 | c_schmitz | Status | resolved => closed |
2012-03-14 21:08 | TMSWhite | Changeset attached | => Import 2012-03-09 13:30:34 Yii 359bff45 |
2012-03-14 21:08 | TMSWhite | Changeset attached | => Import 2012-03-09 13:30:34 Yii 5ed87d45 |