View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
04598 | Bug reports | Survey taking | public | 2010-09-14 17:56 | 2010-09-29 16:29 |
Reporter | ronvdburg | Assigned To | mdekker | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.90+ | ||||
Fixed in Version | 1.90+ | ||||
Summary | 04598: Wrong path to DD_belatedPNG_0.0.8a-min.js | ||||
Description | common.php uses the public scripts directory in stead of the admin/scripts directory when refering to DD_belatedPNG_0.0.8a-min.js. This has only effect when IE < 7. | ||||
Steps To Reproduce | Check common.php for DD_belated. It is used twice. | ||||
Tags | No tags attached. | ||||
Attached Files | fix_DD_belatedPNG.patch (918 bytes)
Index: common.php =================================================================== --- common.php (revision 9129) +++ common.php (working copy) @@ -4306,7 +4306,7 @@ } $strAdminHeader.= "<!--[if lt IE 7]>\n" - . "<script type=\"text/javascript\" src=\"scripts/DD_belatedPNG_0.0.8a-min.js\"></script>\n" + . "<script type=\"text/javascript\" src=\"".$homeurl."/scripts/DD_belatedPNG_0.0.8a-min.js\"></script>\n" ."<script> DD_belatedPNG.fix('img'); </script>\n" @@ -4363,7 +4363,7 @@ <script type="text/javascript" src="'.$homeurl.'/scripts/printablesurvey.js"></script> <!--[if lt IE 7]> - <script type="text/javascript" src="'.$rooturl.'/scripts/DD_belatedPNG_0.0.8a-min.js"></script> + <script type="text/javascript" src="'.$homeurl.'/scripts/DD_belatedPNG_0.0.8a-min.js"></script> <script> DD_belatedPNG.fix("img"); </script> | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 9129 | ||||
I will donate to the project if issue is resolved | |||||
Browser | |||||
Database type & version | mysql 5.0.77 | ||||
Server OS (if known) | Centos 5.3 / Linux 2.6.18 | ||||
Webserver software & version (if known) | apache 2.2.3 | ||||
PHP Version | 5.1.6 | ||||
Hi Ron, Are you sure this is a problem? When I use IE6 I have no problem as the path is relative and it starts from the admin directory so effectively it uses /admin/scripts Btw, if you use IE6 too would you be so kind to check that adding subquestions using the + / - buttons is not working and if my patch in http://bugs.limesurvey.org/view.php?id=4600 is working for you too? |
|
Hi mdekker, Ad "Are you sure?" So the second instance is wrong indeed. However, I have a user patch enabling the user taking a survey to print an empty survey. This way, he/she can print a hardcopy version, discuss in the board and then take the electronic survey. This patch uses the admin/printablesurvey.php script. I know that it is not clean, but it works. However, this way, the relative path is not suitable. Anyway, since the second instance of the 'DD_belatedPNG' script uses an absolute path (although wrong), I thought the first instance can also be using an absolute path. And this absolute path will make my user patch work ;-) You assume that I use IE6 but I am not. My users are in business units all over the world and apparently at least one of them is using IE6. I was triggered on a 404 on DD_belatedPNG_0.0.8a-min.js in the Apache's errorlog. Sorry. |
|
fixed in 9132 |
|
Hi mdekker, ...$homeurl."/scripts... in stead of ...$homeurl."scripts... |
|
tijd voor koffie... Fixed in next commit :) |
|
New 1.90+ version was released. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2010-09-14 17:56 | ronvdburg | New Issue | |
2010-09-14 17:57 | ronvdburg | File Added: fix_DD_belatedPNG.patch | |
2010-09-15 10:51 | mdekker | Note Added: 12843 | |
2010-09-15 11:14 | ronvdburg | Note Added: 12844 | |
2010-09-15 11:54 | mdekker | Note Added: 12845 | |
2010-09-15 11:54 | mdekker | Status | new => resolved |
2010-09-15 11:54 | mdekker | Fixed in Version | => 1.90+ |
2010-09-15 11:54 | mdekker | Resolution | open => fixed |
2010-09-15 11:54 | mdekker | Assigned To | => mdekker |
2010-09-15 12:06 | ronvdburg | Note Added: 12848 | |
2010-09-15 12:06 | ronvdburg | Status | resolved => feedback |
2010-09-15 12:06 | ronvdburg | Resolution | fixed => reopened |
2010-09-15 12:11 | mdekker | Note Added: 12849 | |
2010-09-16 10:44 | mdekker | Status | feedback => resolved |
2010-09-16 10:44 | mdekker | Resolution | reopened => fixed |
2010-09-29 16:29 | c_schmitz | Note Added: 12938 | |
2010-09-29 16:29 | c_schmitz | Status | resolved => closed |
2010-10-25 00:18 | c_schmitz | Category | Survey at Runtime => Survey taking |