Commit 1c348f1d authored by Chenu Denis's avatar Chenu Denis

Fixed issue #07803: IE7 Multiple choice with comments and button "precedent"

parent fe5779b5
......@@ -99,6 +99,10 @@ function doDragDropRank(qID, showpopups, samechoiceheight, samelistheight) {
$('#sortable-rank-'+qID+'').sortable('refresh');
updateDragDropRank(qID);
});
$(function() { // Update height for IE7, maybe for other function too
if(samechoiceheight){fixChoiceHeight(qID);}
if(samelistheight){fixListHeight(qID);}
});
}
function updateDragDropRank(qID){
......@@ -166,8 +170,9 @@ function fixChoiceHeight(qID){
function fixListHeight(qID){
totalHeight=0;
$('.connectedSortable'+qID+' li').each(function(){
totalHeight=totalHeight+$(this).actual('outerHeight',{includeMargin:true});;
totalHeight=totalHeight+$(this).actual('outerHeight',{includeMargin:true});
});
$('.connectedSortable'+qID).height(totalHeight);
}
......@@ -22,6 +22,7 @@
padding: 3px 0;
padding-bottom:2em;
list-style-type: none;
list-style-position:outside;
display: block; /* Force the li to full width */
}
......@@ -31,6 +32,7 @@
margin-top:0;
padding: 3px;
min-height: 1.3em;
*height:1.3em;
font-weight: normal;
cursor: move;
clear:both;
......
......@@ -7,25 +7,6 @@ input.ui-button {
padding: 0.2em 0 0.1em 0;
}
.ui-button-icon-only .ui-icon,
.ui-button-text-icon-primary .ui-icon,
.ui-button-text-icon-secondary .ui-icon,
.ui-button-text-icons .ui-icon,
.ui-button-icons-only .ui-icon {
}
.ui-button-text-icon-primary .ui-button-text {
padding: 0 0 0 1.0em;
}
.ui-button-text-icon-secondary .ui-button-text {
padding: 0 1.2em 0 0;
}
.ui-button-text-icons .ui-button-text {
padding: 0 1.0em;
}
/*** End jQuery UI Theme Styles ***/
#moveprevbtn {
......
......@@ -60,11 +60,13 @@ button.ui-button-icons-only {
}
.ui-button-text-icon-primary .ui-button-text {
padding: 0 0.7em 0 1.7em;
padding: 0 0.7em 0 1.7em;
*padding: 0 20px;
}
.ui-button-text-icon-secondary .ui-button-text {
padding: 0 1.7em 0 0.7em;
padding: 0 1.7em 0 0.7em;
*padding: 0 20px;
}
.ui-button-text-icons .ui-button-text {
......@@ -94,18 +96,21 @@ input.ui-button {
.ui-button-text-icon-primary .ui-button-icon-primary,
.ui-button-text-icons .ui-button-icon-primary,
.ui-button-icons-only .ui-button-icon-primary {
left: .4em;
left: .4em;
*left: 2px;
}
.ui-button-text-icon-secondary .ui-button-icon-secondary,
.ui-button-text-icons .ui-button-icon-secondary,
.ui-button-icons-only .ui-button-icon-secondary {
right: .4em;
right: .4em;
*right: 2px;
}
.ui-button-text-icons .ui-button-icon-secondary,
.ui-button-icons-only .ui-button-icon-secondary {
right: .4em;
right: .4em;
*right: 2px;
}
/* Button sets*/
......@@ -612,6 +617,7 @@ table.question tr.array1:hover,table.question tr.array2:hover {
.list-radio .answer li label,
.list-with-comment .answer li label {
display: inline-block;
*display:inline;
width: 85%;
}
.list-radio .answer li.other-item label,
......@@ -723,6 +729,7 @@ ul.cols-8 li,ul.cols-8-ul,table.cols-8 td {
.multiple-opt .answer li label, .multiple-opt-comments .answer li .option label {
display: inline-block;
*display:inline;
width: 85%;
}
.multiple-opt .answer li.other-item label, .multiple-opt-comments .answer li.other-item .option label {
......@@ -1120,6 +1127,7 @@ div.questionTitle {
width: 3em;
text-align: right;
display: inline-block;
*display:inline;
padding: 0 0.5em 0 0;
}
......
......@@ -15,18 +15,6 @@ input.ui-button {
margin-top: -9px;
}
.ui-button-text-icon-primary .ui-button-text {
padding: 0 0 0 1.0em;
}
.ui-button-text-icon-secondary .ui-button-text {
padding: 0 1.2em 0 0;
}
.ui-button-text-icons .ui-button-text {
padding: 0 1.0em;
}
/*** End jQuery UI Theme Styles ***/
.submit-buttons button {
......@@ -149,4 +137,4 @@ input.submit {
.slider_righttext {
float: left;
}
\ No newline at end of file
}
......@@ -107,11 +107,13 @@ button.ui-button-icons-only {
}
.ui-button-text-icon-primary .ui-button-text {
padding: 0 0.7em 0 1.7em;
padding: 0 0.7em 0 1.7em;
*padding: 0 20px;
}
.ui-button-text-icon-secondary .ui-button-text {
padding: 0 1.7em 0 0.7em;
padding: 0 1.7em 0 0.7em;
*padding: 0 20px;
}
.ui-button-text-icons .ui-button-text {
......@@ -142,17 +144,20 @@ input.ui-button {
.ui-button-text-icons .ui-button-icon-primary,
.ui-button-icons-only .ui-button-icon-primary {
left: .4em;
*left: 2px;
}
.ui-button-text-icon-secondary .ui-button-icon-secondary,
.ui-button-text-icons .ui-button-icon-secondary,
.ui-button-icons-only .ui-button-icon-secondary {
right: .4em;
*right: 2px;
}
.ui-button-text-icons .ui-button-icon-secondary,
.ui-button-icons-only .ui-button-icon-secondary {
right: .4em;
*right: 2px;
}
/* Button sets*/
......
......@@ -15,18 +15,6 @@ input.ui-button {
margin-top: -9px;
}
.ui-button-text-icon-primary .ui-button-text {
padding: 0 0 0 1.0em;
}
.ui-button-text-icon-secondary .ui-button-text {
padding: 0 1.2em 0 0;
}
.ui-button-text-icons .ui-button-text {
padding: 0 1.0em;
}
/*** End jQuery UI Theme Styles ***/
.choice-5-pt-radio ul {
......@@ -148,4 +136,4 @@ input.submit {
.slider_righttext {
float: left;
padding-top: 1.4em;
}
\ No newline at end of file
}
......@@ -69,10 +69,12 @@ button.ui-button-icons-only {
.ui-button-text-icon-primary .ui-button-text {
padding: 0 0.7em 0 1.7em;
*padding: 0 20px;
}
.ui-button-text-icon-secondary .ui-button-text {
padding: 0 1.7em 0 0.7em;
*padding: 0 20px;
}
.ui-button-text-icons .ui-button-text {
......@@ -103,17 +105,20 @@ input.ui-button {
.ui-button-text-icons .ui-button-icon-primary,
.ui-button-icons-only .ui-button-icon-primary {
left: .4em;
*left: 2px;
}
.ui-button-text-icon-secondary .ui-button-icon-secondary,
.ui-button-text-icons .ui-button-icon-secondary,
.ui-button-icons-only .ui-button-icon-secondary {
right: .4em;
*right: 2px;
}
.ui-button-text-icons .ui-button-icon-secondary,
.ui-button-icons-only .ui-button-icon-secondary {
right: .4em;
*right: 2px;
}
/* Button sets*/
......@@ -649,6 +654,7 @@ p.question {
.list-radio .answer li label,
.list-with-comment .answer li label {
display: inline-block;
*display:inline;
width: 85%;
}
.list-radio .answer li.other-item label,
......@@ -757,6 +763,7 @@ ul.cols-8 li,ul.cols-8-ul,table.cols-8 td {
.multiple-opt .answer li label, .multiple-opt-comments .answer li .option label {
display: inline-block;
*display:inline;
width: 90%;
}
.multiple-opt .answer li.other-item label {
......@@ -1183,6 +1190,7 @@ span.qnumcode {
width: 3em;
text-align: right;
display: inline-block;
*display:inline;
padding: 0 0.5em 0 0;
}
......
......@@ -4,7 +4,7 @@
.ui-button,
input.ui-button {
padding: 0.1em 0 0.1em 0;
padding: 0.1em 0;
}
.ui-button-icon-only .ui-icon,
......@@ -14,21 +14,7 @@ input.ui-button {
.ui-button-icons-only .ui-icon {
margin-top: -9px;
}
.ui-button-text-icon-primary .ui-button-text {
padding: 0 0 0 1.0em;
}
.ui-button-text-icon-secondary .ui-button-text {
padding: 0 1.2em 0 0;
}
.ui-button-text-icons .ui-button-text {
padding: 0 1.0em;
}
/*** End jQuery UI Theme Styles ***/
.save-all {
padding-left: 5px;
}
......@@ -150,4 +136,4 @@ input.submit {
.slider_righttext {
float: left;
padding-top: 1.4em;
}
\ No newline at end of file
}
......@@ -106,10 +106,12 @@ button.ui-button-icons-only {
.ui-button-text-icon-primary .ui-button-text {
padding: 0 0.7em 0 1.7em;
*padding: 0 20px;
}
.ui-button-text-icon-secondary .ui-button-text {
padding: 0 1.7em 0 0.7em;
*padding: 0 20px;
}
.ui-button-text-icons .ui-button-text {
......@@ -140,17 +142,20 @@ input.ui-button {
.ui-button-text-icons .ui-button-icon-primary,
.ui-button-icons-only .ui-button-icon-primary {
left: .4em;
*left: 2px;
}
.ui-button-text-icon-secondary .ui-button-icon-secondary,
.ui-button-text-icons .ui-button-icon-secondary,
.ui-button-icons-only .ui-button-icon-secondary {
right: .4em;
*right: 2px;
}
.ui-button-text-icons .ui-button-icon-secondary,
.ui-button-icons-only .ui-button-icon-secondary {
right: .4em;
*right: 2px;
}
/* Button sets*/
......@@ -878,6 +883,7 @@ table.clearall-result td {
.list-radio .answer li label,
.list-with-comment .answer li label {
display: inline-block;
*display: inline;
width: 85%;
}
......@@ -994,6 +1000,7 @@ ul.cols-8 li,ul.cols-8-ul,table.cols-8 td {
}
.multiple-opt .answer li label, .multiple-opt-comments .answer li .option label {
display: inline-block;
*display: inline;
width: 90%;
}
.multiple-opt .answer li.other-item label {
......
......@@ -15,18 +15,6 @@ input.ui-button {
margin-top: -9px;
}
.ui-button-text-icon-primary .ui-button-text {
padding: 0 0 0 1.0em;
}
.ui-button-text-icon-secondary .ui-button-text {
padding: 0 1.2em 0 0;
}
.ui-button-text-icons .ui-button-text {
padding: 0 1.0em;
}
/*** End jQuery UI Theme Styles ***/
.submit {
......@@ -151,4 +139,4 @@ input.submit {
.slider_righttext {
float: left;
padding-top: 1.5em;
}
\ No newline at end of file
}
......@@ -63,10 +63,12 @@ button.ui-button-icons-only {
.ui-button-text-icon-primary .ui-button-text {
padding: 0 0.7em 0 1.7em;
*padding: 0 20px;
}
.ui-button-text-icon-secondary .ui-button-text {
padding: 0 1.7em 0 0.7em;
*padding: 0 20px;
}
.ui-button-text-icons .ui-button-text {
......@@ -97,17 +99,20 @@ input.ui-button {
.ui-button-text-icons .ui-button-icon-primary,
.ui-button-icons-only .ui-button-icon-primary {
left: .4em;
*left: 2px;
}
.ui-button-text-icon-secondary .ui-button-icon-secondary,
.ui-button-text-icons .ui-button-icon-secondary,
.ui-button-icons-only .ui-button-icon-secondary {
right: .4em;
*right: 2px;
}
.ui-button-text-icons .ui-button-icon-secondary,
.ui-button-icons-only .ui-button-icon-secondary {
right: .4em;
*right: 2px;
}
/* Button sets*/
......@@ -739,6 +744,7 @@ table.clearall-result td {
.list-radio .question-answer li label,
.list-with-comment .question-answer li label {
display: inline-block;
*display:inline;
width: 85%;
}
.list-radio .question-answer li.other-item label,
......@@ -858,6 +864,7 @@ table.rank td.helptext {
}
.multiple-opt .question-answer li label , .multiple-opt-comments .question-answer li .option label {
display: inline-block;
*display:inline;
width: 90%;
}
.multiple-opt .question-answer li.other-item label {
......@@ -1349,6 +1356,7 @@ td.statsImageholder {
width: 3em;
text-align: right;
display: inline-block;
*display:inline;
padding: 0 0.5em 0 0;
}
......
......@@ -15,18 +15,6 @@ input.ui-button {
margin-top: -9px;
}
.ui-button-text-icon-primary .ui-button-text {
padding: 0 0 0 1.0em;
}
.ui-button-text-icon-secondary .ui-button-text {
padding: 0 1.2em 0 0;
}
.ui-button-text-icons .ui-button-text {
padding: 0 1.0em;
}
/*** End jQuery UI Theme Styles ***/
.submit {
......@@ -146,4 +134,4 @@ input.submit {
.slider_righttext {
float: left;
padding-top: 1.5em;
}
\ No newline at end of file
}
......@@ -70,10 +70,12 @@ button.ui-button-icons-only {
.ui-button-text-icon-primary .ui-button-text {
padding: 0 0.7em 0 1.7em;
*padding: 0 20px;
}
.ui-button-text-icon-secondary .ui-button-text {
padding: 0 1.7em 0 0.7em;
*padding: 0 20px;
}
.ui-button-text-icons .ui-button-text {
......@@ -109,17 +111,20 @@ input.ui-button {
.ui-button-text-icons .ui-button-icon-primary,
.ui-button-icons-only .ui-button-icon-primary {
left: .4em;
*left: 2px;
}
.ui-button-text-icon-secondary .ui-button-icon-secondary,
.ui-button-text-icons .ui-button-icon-secondary,
.ui-button-icons-only .ui-button-icon-secondary {
right: .4em;
*right: 2px;
}
.ui-button-text-icons .ui-button-icon-secondary,
.ui-button-icons-only .ui-button-icon-secondary {
right: .4em;
*right: 2px;
}
/* Button sets*/
......@@ -836,6 +841,7 @@ a.imglink {
.list-radio .survey-question-answer li label,
.list-with-comment .survey-question-answer li label {
display: inline-block;
*display:inline;
width: 85%;
}
......@@ -980,6 +986,7 @@ ul.cols-8 li,ul.cols-8-ul,table.cols-8 td {
.multiple-opt .survey-question-answer li label, .multiple-opt-comments .survey-question-answer li .option label {
display: inline-block;
*display:inline;
width: 90%;
}
.multiple-opt .survey-question-answer li.other-item label,.multiple-opt-comments .survey-question-answer li.other-item .option label {
......@@ -1412,6 +1419,7 @@ td.statsImageholder {
width: 3em;
text-align: right;
display: inline-block;
*display:inline;
padding: 0 0.5em 0 0;
}
......
......@@ -15,17 +15,6 @@ input.ui-button {
margin-top: -9px;
}
.ui-button-text-icon-primary .ui-button-text {
padding: 0 0 0 1.0em;
}
.ui-button-text-icon-secondary .ui-button-text {
padding: 0 1.2em 0 0;
}
.ui-button-text-icons .ui-button-text {
padding: 0 1.0em;
}
/*** End jQuery UI Theme Styles ***/
......@@ -142,4 +131,4 @@ input.submit {
.slider_righttext {
float: left;
padding-top: 1em;
}
\ No newline at end of file
}
......@@ -86,10 +86,12 @@ button.ui-button-icons-only {
.ui-button-text-icon-primary .ui-button-text {
padding: 0 0.7em 0 1.7em;
*padding: 0 20px;
}
.ui-button-text-icon-secondary .ui-button-text {
padding: 0 1.7em 0 0.7em;
*padding: 0 20px;
}
.ui-button-text-icons .ui-button-text {
......@@ -120,17 +122,20 @@ input.ui-button {
.ui-button-text-icons .ui-button-icon-primary,
.ui-button-icons-only .ui-button-icon-primary {
left: .4em;
*left: 2px;
}
.ui-button-text-icon-secondary .ui-button-icon-secondary,
.ui-button-text-icons .ui-button-icon-secondary,
.ui-button-icons-only .ui-button-icon-secondary {
right: .4em;
*right: 2px;
}
.ui-button-text-icons .ui-button-icon-secondary,
.ui-button-icons-only .ui-button-icon-secondary {
right: .4em;
*right: 2px;
}
/* Button sets*/
......@@ -884,6 +889,7 @@ select {
.list-radio .survey-question-answer li label,
.list-with-comment .survey-question-answer li label {
display: inline-block;
*display:inline;
width: 85%;
}
.list-radio .survey-question-answer li.other-item label,
......@@ -1004,6 +1010,7 @@ table.rank td.helptext {
.multiple-opt .survey-question-answer li label, .multiple-opt-comments .survey-question-answer li .option label {
display: inline-block;
*display:inline;
width: 90%;
}
.multiple-opt-comments .survey-question-answer li .option label {
......@@ -1441,6 +1448,7 @@ td.statsImageholder {
width: 3em;
text-align: right;
display: inline-block;
*display:inline;
padding: 0 0.5em 0 0;
}
......
......@@ -15,18 +15,6 @@ input.ui-button {
margin-top: -9px;
}
.ui-button-text-icon-primary .ui-button-text {
padding: 0 0 0 1.0em;
}
.ui-button-text-icon-secondary .ui-button-text {
padding: 0 1.2em 0 0;
}
.ui-button-text-icons .ui-button-text {
padding: 0 1.0em;
}
/*** End jQuery UI Theme Styles ***/
.submit {
......@@ -145,4 +133,4 @@ input.submit {
.slider_righttext {
float: left;
padding-top: 1.45em;
}
\ No newline at end of file
}
......@@ -69,10 +69,12 @@ button.ui-button-icons-only {
.ui-button-text-icon-primary .ui-button-text {
padding: 0 0.7em 0 1.7em;
*padding: 0 20px;
}
.ui-button-text-icon-secondary .ui-button-text {
padding: 0 1.7em 0 0.7em;
*padding: 0 20px;
}
.ui-button-text-icons .ui-button-text {
......@@ -103,17 +105,20 @@ input.ui-button {
.ui-button-text-icons .ui-button-icon-primary,
.ui-button-icons-only .ui-button-icon-primary {
left: .4em;
*left: 2px;
}
.ui-button-text-icon-secondary .ui-button-icon-secondary,
.ui-button-text-icons .ui-button-icon-secondary,
.ui-button-icons-only .ui-button-icon-secondary {
right: .4em;
*right: 2px;
}
.ui-button-text-icons .ui-button-icon-secondary,
.ui-button-icons-only .ui-button-icon-secondary {
right: .4em;
*right: 2px;
}
/* Button sets*/
......@@ -729,6 +734,7 @@ table.question tr.array1:hover,table.question tr.array2:hover {
.list-radio .survey-question-answer li label,
.list-with-comment .survey-question-answer li label {
display: inline-block;
*display:inline;
width: 85%;
}
.list-radio .survey-question-answer li.other-item label,
......@@ -874,6 +880,7 @@ table.rank td.helptext {
.multiple-opt .survey-question-answer li label, .multiple-opt-comments .survey-question-answer li .option label {
display: inline-block;
*display:inline;
width: 90%;
}
.multiple-opt .survey-question-answer li.other-item label, .multiple-opt-comments .survey-question-answer li.other-item .option label {
......@@ -1298,6 +1305,7 @@ td.statsImageholder {
width: 3em;
text-align: right;
display: inline-block;
*display:inline;
padding: 0 0.5em 0 0;
}
......
......@@ -15,18 +15,6 @@ input.ui-button {
margin-top: -9px;
}
.ui-button-text-icon-primary .ui-button-text {
padding: 0 0 0 1.0em;
}
.ui-button-text-icon-secondary .ui-button-text {
padding: 0 1.2em 0 0;
}
.ui-button-text-icons .ui-button-text {
padding: 0 1.0em;
}
/*** End jQuery UI Theme Styles ***/
.submit {
......@@ -146,4 +134,4 @@ input.submit {
.slider_righttext {
float: left;
padding-top: 1.55em;
}
\ No newline at end of file
}
......@@ -62,10 +62,12 @@ button.ui-button-icons-only {
.ui-button-text-icon-primary .ui-button-text {
padding: 0 0.7em 0 1.7em;
*padding: 0 20px;
}
.ui-button-text-icon-secondary .ui-button-text {
padding: 0 1.7em 0 0.7em;
*padding: 0 20px;
}
.ui-button-text-icons .ui-button-text {
......@@ -96,17 +98,20 @@ input.ui-button {
.ui-button-text-icons .ui-button-icon-primary,
.ui-button-icons-only .ui-button-icon-primary {
left: .4em;
*left: 2px;
}
.ui-button-text-icon-secondary .ui-button-icon-secondary,
.ui-button-text-icons .ui-button-icon-secondary,
.ui-button-icons-only .ui-button-icon-secondary {
right: .4em;
*right: 2px;
}
.ui-button-text-icons .ui-button-icon-secondary,
.ui-button-icons-only .ui-button-icon-secondary {
right: .4em;
*right: 2px;
}
/* Button sets*/
......@@ -733,6 +738,7 @@ p.question {
.list-radio .survey-question-answer li label,
.list-with-comment .survey-question-answer li label {
display: inline-block;
*display:inline;
width: 85%;
}
.list-radio .survey-question-answer li.other-item label,
......@@ -851,6 +857,7 @@ table.rank td.helptext {