View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
06565Bug reportsSurvey editingpublic2026-11-19 22:24
Reporteruser21817Assigned To 
PrioritynormalSeveritytweak 
Status closedResolutionfixed 
Summary06565: GCI: file upload modal dialog too wide in iframe
Description

The modal dialog generated by "file upload" question type is too wide if it is embedded in the iframe that is narrower than 984px.

Currently the width is hard coded in "/scripts/modaldialog.js"

Is there a way that you can add an option to enter the width of the dialog when you create a "file upload" question type?

Steps To Reproduce
  1. create a survey with "file upload" question type.
  2. create a page that includes the survey in the iframe of which width is about 700px or less.
  3. click "upload file" in the survey.
TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)120909
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL
Server OS (if known)Windows Server 2008
Webserver software & version (if known)IIS 8
PHP Version5
Git branch / Pull Request URL

Users monitoring this issue

DenisChenu

Activities

c_schmitz

c_schmitz

2012-09-21 11:28

administrator   ~20750

Scheduled for Google Code-In

DenisChenu

DenisChenu

2012-09-22 15:22

developer   ~20760

Last edited: 2012-09-22 15:22

Hello,

When i look to some file upload javascript plugin, i found this one:
http://www.phpletter.com/Demo/AjaxFileUpload-Demo/

I think it's really the best one, because you can have a php script without javascript and a php script with javascript, then make file upload very better.

And non need another windows lika actual system :).

There are a lot of alternative, but please : no flash ! ;)

Denis
PS: see for a template/modaldialog.js :)

c_schmitz

c_schmitz

2026-11-19 22:24

administrator   ~87746

In LimeSurvey 7 the file upload dialog is a responsive Bootstrap modal without a fixed width, so it shrinks to fit narrow windows and iframes. Closing as fixed.

Issue History

Date Modified Username Field Change
2012-09-18 21:51 user21817 New Issue
2012-09-19 15:51 DenisChenu Issue Monitored: DenisChenu
2012-09-21 11:28 c_schmitz Project Bug reports => @10@
2012-09-21 11:28 c_schmitz Note Added: 20750
2012-09-21 11:28 c_schmitz Product Version 1.92+ =>
2012-09-21 11:28 c_schmitz Summary file upload modal dialog too wide in iframe => GCI: file upload modal dialog too wide in iframe
2012-09-22 15:22 DenisChenu Note Added: 20760
2012-09-22 15:22 DenisChenu Note Edited: 20760
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing
2026-11-19 22:24 c_schmitz Note Added: 87746
2026-11-19 22:24 c_schmitz Status new => closed
2026-11-19 22:24 c_schmitz Resolution open => fixed