View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
06182Bug reportsSurvey takingpublic2012-06-20 14:05
Reporteruser20313Assigned ToDenisChenu  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.00RC2 
Target Version2.00RC3Fixed in Version2.00RC3 
Summary06182: File Uploader does not display in a modal dialog - modaldialog.js not properly included in head
Description

Dear Fine LimeSurvey Developers,

I am using Version 2.0RC2 Build 120528 and had a problem with the file uploader. The modaldialog was not displaying resulting in the upload dialog becoming a new tab in the browser not a modal. This made progress in the survey hard!

Steps To Reproduce

Include a file upload question...

Additional Information

There was a corrupt javascript include for modaldialog.js. I eventually tracked it down to line 2996 of qanda_helper.php. The following fix worked for me. I did not investigate to see if there are other assumptions made at the point of processing the $js_header_includes array.

// 2996
// $js_header_includes[]= "<script type='text/javascript' src='".Yii::app()->getBaseUrl(true)."/scripts/modaldialog.js'></script>";
$js_header_includes[]= Yii::app()->getBaseUrl(true)."/scripts/modaldialog.js";

I hope this helps!

You certainly helped me!

Thanks,

Kevin

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)120528
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql
Server OS (if known)Linux merode3 2.6.32-35-generic #78-Ubuntu SMP Tue Oct 11 15:27:15 UTC 2011 i686
Webserver software & version (if known)Apache/2.2.14 (Ubuntu)
PHP VersionPHP Version 5.3.2-1ubuntu4.15

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2012-06-09 14:29

developer   ~19133

Fixed before

c_schmitz

c_schmitz

2012-06-20 14:05

administrator   ~19376

2.0RC3 released

Issue History

Date Modified Username Field Change
2012-06-08 19:18 user20313 New Issue
2012-06-08 19:32 DenisChenu Assigned To => DenisChenu
2012-06-08 19:32 DenisChenu Status new => assigned
2012-06-08 19:38 DenisChenu Target Version => 2.00RC3
2012-06-09 14:29 DenisChenu Note Added: 19133
2012-06-09 14:29 DenisChenu Status assigned => resolved
2012-06-09 14:29 DenisChenu Fixed in Version => 2.00RC3
2012-06-09 14:29 DenisChenu Resolution open => fixed
2012-06-20 14:05 c_schmitz Note Added: 19376
2012-06-20 14:05 c_schmitz Status resolved => closed