Skip to content

Commit

Permalink
Fixed issue #6690: Question type 'File upload' doesn't work appropria…
Browse files Browse the repository at this point in the history
…tely when used on the same page with ranking question type
  • Loading branch information
c-schmitz committed Oct 17, 2012
1 parent 0d0f394 commit d978a69
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion application/helpers/qanda_helper.php
Expand Up @@ -2174,7 +2174,7 @@ function do_ranking($ia)
}
$answer .= "<script type='text/javascript'>\n"
. " <!--\n"
. "var translt = {
. "var aRankingTranslations = {
choicetitle: '{$choice_title}',
ranktitle: '{$rank_title}'
};\n"
Expand Down
2 changes: 1 addition & 1 deletion application/helpers/surveytranslator_helper.php
Expand Up @@ -177,7 +177,7 @@ function getLanguageData($bOrderByNative=false,$sLanguageCode='en') {

// Czech informal
$supportedLanguages['cs-informal']['description'] = $clang->gT('Czech (informal)');
$supportedLanguages['cs-informal']['nativedescription'] = '&#x010c;esky neformální';
$supportedLanguages['cs-informal']['nativedescription'] = '&#x010c;esky neform&aacute;ln&iacute;';
$supportedLanguages['cs-informal']['rtl'] = false;
$supportedLanguages['cs-informal']['dateformat'] = 4;
$supportedLanguages['cs-informal']['radixpoint'] = 1;
Expand Down
8 changes: 4 additions & 4 deletions scripts/ranking.js
Expand Up @@ -16,18 +16,18 @@ function doDragDropRank(qID, showpopups, samechoiceheight, samelistheight) {
// Actually a table : move it to a list is a good idea, but need reviewing template a lot.
var htmlCode = '<div class="dragDropTable"> \
<div class="columns2">\
<strong class="SortableTitle">'+translt.choicetitle+'</strong>\
<strong class="SortableTitle">'+aRankingTranslations.choicetitle+'</strong>\
<div class="ui-state-default dragDropChoices"> \
<ul id="sortable-choice-'+qID+'" class="connectedSortable'+qID+' dragDropChoiceList"> \
<li>'+translt.choicetitle+'</li> \
<li>'+aRankingTranslations.choicetitle+'</li> \
</ul> \
</div> \
</div>\
<div class="columns2">\
<strong class="SortableTitle">'+translt.ranktitle+'</strong>\
<strong class="SortableTitle">'+aRankingTranslations.ranktitle+'</strong>\
<div class="ui-state-default dragDropRanks"> \
<ol id="sortable-rank-'+qID+'" class="connectedSortable'+qID+' dragDropRankList selectionSortable"> \
<li>'+translt.ranktitle+'</li> \
<li>'+aRankingTranslations.ranktitle+'</li> \
</ol> \
</div> \
</div> \
Expand Down

2 comments on commit d978a69

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oups, sorry don't think of this problem.

@c-schmitz
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem :-)

Please sign in to comment.