Skip to content

Commit

Permalink
fix the accordian (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
preetisi authored Jun 5, 2019
1 parent aaf2fee commit ec0acef
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion grails-app/views/gait/gaitInfo.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ ul.nav-tabs > li.active > a { background-color: #fff !important; }
'allowPhenotypeChoice': allowPhenotypeChoice,
'allowStratificationChoice': allowStratificationChoice,
'grsVariantSet':'',
'geneName':geneName]"/>
'geneName':geneName,
'standAloneTool':true]"/>



Expand Down
2 changes: 1 addition & 1 deletion grails-app/views/templates/_burdenTestSharedTemplate.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ the individual filters themselves. That work is handled later as part of a loop-
<div id="collapseBurden"
{{#variantsSetRefinement}}
class="accordion-body collapse in"
class="accordion-body collapse"
{{/variantsSetRefinement}}
{{^variantsSetRefinement}}
class="accordion-body collapse in"
Expand Down
3 changes: 2 additions & 1 deletion grails-app/views/widgets/_burdenTestShared.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ $( document ).ready( function (){
allowPhenotypeChoice : ${allowPhenotypeChoice},
allowStratificationChoice: ${allowStratificationChoice},
grsVariantSet:'${grsVariantSet}',
modifiedGaitSummary:'${modifiedGaitSummary}'
modifiedGaitSummary:'${modifiedGaitSummary}',
standAloneTool:'${standAloneTool}'
},
'${geneName}',
true,
Expand Down
7 changes: 5 additions & 2 deletions web-app/js/lib/dport/burdenTestShared.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,11 @@ mpgSoftware.burdenTestShared = (function () {
//burdenTestVariantSelectionOptionsAjaxUrl){
displayParameters["variantsSetRefinement"] = (( typeof displayParameters.grsVariantSet === 'undefined') ||
(displayParameters.grsVariantSet.length === 0)) ? [1] : [];
displayParameters["standaloneTool"] = (( typeof displayParameters.grsVariantSet === 'undefined') ||
(displayParameters.grsVariantSet.length === 0)) ? [1] : [1];

if(displayParameters["standAloneTool"]){
displayParameters["variantsSetRefinement"] = []
}


mpgSoftware.burdenTestShared.initializeGaitUi(selectionToFill,
displayParameters);
Expand Down

0 comments on commit ec0acef

Please sign in to comment.