Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
Show choices for IsaacQuestions.
Browse files Browse the repository at this point in the history
  • Loading branch information
daviesian committed Mar 20, 2014
1 parent de9b863 commit 0829f3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/webapp/static/js/app/MathJaxConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ define(["mathjax"], function() {
"vtr": ["{\\underline{\\boldsymbol{#1}}}",1],
"d": "\\operatorname{d}",
"vari": ["#1",1],
"s": ["_{\\sf{#1}}", 1],
}
},
});
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/static/js/app/content_editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ define(["react", "jquery", "rsvp", "codemirrorJS", "showdown", "app/MathJaxConfi
var exposition = <ContentValueOrChildren value={this.props.doc.value} children={this.props.doc.children} encoding={this.props.doc.encoding} onChange={this.onExpositionChange}/>;
var optionalHints = <Block type="hints" blockTypeTitle="Hints"><ContentChildren items={this.props.doc.hints || []} encoding={this.encoding} onChange={this.onHintsChange}/></Block>

if (this.props.doc.type == "choiceQuestion")
if (this.props.doc.type == "choiceQuestion" || this.props.doc.type == "isaacMultiChoiceQuestion" || this.props.doc.type == "isaacNumericQuestion" || this.props.doc.type == "isaacSymbolicQuestion")
var choices = <Block type="choices" blockTypeTitle="Choices"><ContentChildren items={this.props.doc.choices || []} encoding={this.encoding} onChange={this.onChoicesChange} /></Block>

if (!this.props.doc.answer)
Expand Down

0 comments on commit 0829f3e

Please sign in to comment.