Permalink
Browse files

Fix category not being shown bug

  • Loading branch information...
alexanderte committed Apr 26, 2013
1 parent ab2cb11 commit ded52c05186d5cff10be019a17d912e2eecab9ca
Showing with 2 additions and 2 deletions.
  1. +1 −1 frontend/views/result.coffee
  2. +1 −1 frontend/views/result.js
@@ -71,7 +71,7 @@ define ['jquery', 'underscore', 'backbone'], ($, _, Backbone) ->
else
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()
shouldHideAutomatedCheckerResults: () ->
document.getElementById('hideAutomatedCheckerResults') == null or $('#hideAutomatedCheckerResults').is(':checked')
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit ded52c0

Please sign in to comment.