Skip to content

Commit

Permalink
Fix category not being shown bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Teinum committed Apr 26, 2013
1 parent ab2cb11 commit ded52c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/views/result.coffee
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ define ['jquery', 'underscore', 'backbone'], ($, _, Backbone) ->
else else
result.set '_answer', @options.locale.translate('test_answer_' + result.get('answer')) result.set '_answer', @options.locale.translate('test_answer_' + result.get('answer'))


result._category = @options.locale.translate('result_category_' + result.get('category')) result.set '_category', @options.locale.translate('result_category_' + result.get('category'))
result.toJSON() result.toJSON()
shouldHideAutomatedCheckerResults: () -> shouldHideAutomatedCheckerResults: () ->
document.getElementById('hideAutomatedCheckerResults') == null or $('#hideAutomatedCheckerResults').is(':checked') document.getElementById('hideAutomatedCheckerResults') == null or $('#hideAutomatedCheckerResults').is(':checked')
Expand Down
2 changes: 1 addition & 1 deletion frontend/views/result.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ded52c0

Please sign in to comment.