View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
06982Bug reportsSurvey editingpublic2012-12-07 09:58
ReporterpfpDave Assigned Totpartner  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00+ 
Summary06982: IE8 switches to compatibility view causing data to be lost when using quick add in array questions
Description

When using the quick add function in array questions, at the point you click 'Save' or 'Replace', IE8 switches into compativility view, reloads the page and loses the data you entered. IE8 also seems to switch into compatibility view intermittently when using the 'Save as Label set' function

TagsNo tags attached.
Bug heat10
Complete LimeSurvey version number (& build)121127
I will donate to the project if issue is resolvedNo
BrowserIE8
Database type & versionSQL Express 2012
Server OS (if known)Server 2008
Webserver software & version (if known)IIS 7
PHP Version5.4.8

Users monitoring this issue

There are no users monitoring this issue.

Activities

tpartner

tpartner

2012-11-30 17:25

partner   ~22758

Okay, this one is truly odd!

The browser is forced into compatibility when the dialog containing a <textarea> element is closed (by any button).

If I remove the textarea from the dialog div, there is no problem.

I can't reproduce the problem with a plain HTML page containing a modal dialog with a textarea even if I include all of the LS admin JavaScript.

I can work around it if I hide the textarea before closing the dialog but that's a bit hacky.

Anyone have any thoughts?

DenisChenu

DenisChenu

2012-11-30 17:55

developer   ~22761

Tony : if you hide it: please do it only for JS.

No thoughts for me ;)

tpartner

tpartner

2012-11-30 18:12

partner   ~22762

Yeah, sure, I'll hide it with the beforeClose() event on the dialog

helper

helper

2012-11-30 18:41

reporter   ~22763

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>

tpartner

tpartner

2012-11-30 19:32

partner   ~22764

Yes, thank you, we could force it to edge and chrome, but I would like to fix it for browsers that don't have the Chrome Frame installed too.

tpartner

tpartner

2012-11-30 19:41

partner   ~22765

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10632

tpartner

tpartner

2012-11-30 19:41

partner   ~22766

Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10633

tpartner

tpartner

2012-11-30 19:44

partner   ~22767

pfpDave, can you narrow down the problem when using the 'Save as Label set' function?

I can't make it happen.

DenisChenu

DenisChenu

2012-12-01 11:22

developer   ~22779

damn, i want to write only for IE, not for JS ... ;)

tpartner

tpartner

2012-12-01 13:02

partner   ~22782

Shnoulle, I don't see any harm using this fix across all browsers. Do you?

tpartner

tpartner

2012-12-04 14:27

partner   ~22879

Guess not...

DenisChenu

DenisChenu

2012-12-04 15:15

developer   ~22881

It's just because a javascript instruction less is a javascript instruction less ;).

And "I don't like IE" :p

pfpDave

pfpDave

2012-12-05 14:36

reporter   ~22909

Sorry for the delay ... I can't make it happen consistently with the 'Save as Label set' function but it does happen if you try alternating between new and replace existing a few times ... here's how I got it to appear:

Save as label set --> replace existing --> drop down list and select --> Save --> OK --> OK

Save as label set --> new label set --> enter name --> save --> OK

c_schmitz

c_schmitz

2012-12-07 09:58

administrator   ~23012

2.00+ build 121207 released.

Related Changesets

LimeSurvey: master c105a8f3

2012-11-30 19:34

tpartner


Details Diff
Fixed issue 06982: IE8 switches to compatibility view causing data to be lost when using quick add in array questions
Dev: Workaround for bug with jQuery UI in IE 8
Affected Issues
06982
mod - scripts/admin/answers.js Diff File
mod - scripts/admin/subquestions.js Diff File

LimeSurvey: 2.1 6372212e

2012-11-30 19:35

tpartner


Details Diff
Fixed issue 06982: IE8 switches to compatibility view causing data to be lost when using quick add in array questions
Dev: Workaround for bug with jQuery UI in IE 8
Affected Issues
06982
mod - scripts/admin/answers.js Diff File
mod - scripts/admin/subquestions.js Diff File

Issue History

Date Modified Username Field Change
2012-11-29 10:09 pfpDave New Issue
2012-11-30 17:25 tpartner Note Added: 22758
2012-11-30 17:55 DenisChenu Note Added: 22761
2012-11-30 18:12 tpartner Note Added: 22762
2012-11-30 18:12 tpartner Assigned To => tpartner
2012-11-30 18:12 tpartner Status new => assigned
2012-11-30 18:41 helper Note Added: 22763
2012-11-30 19:32 tpartner Note Added: 22764
2012-11-30 19:41 tpartner Changeset attached => LimeSurvey master c105a8f3
2012-11-30 19:41 tpartner Note Added: 22765
2012-11-30 19:41 tpartner Resolution open => fixed
2012-11-30 19:41 tpartner Changeset attached => LimeSurvey 2.1 6372212e
2012-11-30 19:41 tpartner Note Added: 22766
2012-11-30 19:44 tpartner Note Added: 22767
2012-12-01 11:22 DenisChenu Note Added: 22779
2012-12-01 13:02 tpartner Note Added: 22782
2012-12-04 14:27 tpartner Note Added: 22879
2012-12-04 14:27 tpartner Status assigned => resolved
2012-12-04 15:15 DenisChenu Note Added: 22881
2012-12-05 14:36 pfpDave Note Added: 22909
2012-12-07 09:58 c_schmitz Note Added: 23012
2012-12-07 09:58 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing