Skip to content

Commit

Permalink
Fixed issue #13739: Relevance equation broken for array by column
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikvitt committed Jun 12, 2018
1 parent 6cbc768 commit 132db02
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Expand Up @@ -310,7 +310,7 @@
</div>
</div>

<div class="form-group">
<div class="form-group" id="relevanceContainer">
<label class=" control-label" for='relevance' title="<?php eT("Relevance equation");?>"><?php eT("Relevance equation:"); ?></label>
<div class="">
<div class="input-group">
Expand Down
6 changes: 6 additions & 0 deletions assets/scripts/admin/questions.js
Expand Up @@ -316,6 +316,12 @@ function OtherSelection(QuestionType) {
document.getElementById('Validation').style.display = 'none';
document.getElementById('MandatorySelection').style.display = '';
}

if (QuestionType == 'H'){ // hide relevance equation input for array by column question type until it is fixed
document.getElementById('relevanceContainer').style.display = 'none';
} else {
document.getElementById('relevanceContainer').style.display = '';
}
} catch(e) {
if(window.debugState.backend) console.ls.error(e);
}
Expand Down

0 comments on commit 132db02

Please sign in to comment.