예제 #1
0
	@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");
	}
예제 #2
0
	private void markGapAsCorrect() {
		view.showAsCorrect();
	}