@Override public void setShowErrorsMode() { if (this.isShowAnswersActive) hideAnswers(); isShowErrorsMode = true; workModeDisabled = view.getDisabled(); view.setDisabled(true); if (model.isActivity()) { if (getScore() > 0) { view.showAsCorrect(); } else { view.showAsError(); } } view.removeClass("ui-state-disabled"); }
private void markGapAsCorrect() { view.showAsCorrect(); }