mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
Fixed a patches resource name.
This commit is contained in:
parent
01f2a556f9
commit
8164c6881c
2 changed files with 2 additions and 1 deletions
|
@ -692,3 +692,4 @@
|
|||
level_session: "Your Session"
|
||||
opponent_session: "Opponent Session"
|
||||
article: "Article"
|
||||
user_names: "User Names"
|
||||
|
|
|
@ -30,7 +30,7 @@ module.exports = class PatchesView extends CocoView
|
|||
onPatchesLoaded: ->
|
||||
ids = (p.get('creator') for p in @patches.models)
|
||||
jqxhrOptions = nameLoader.loadNames ids
|
||||
@supermodel.addRequestResource('name_loader', jqxhrOptions).load() if jqxhrOptions
|
||||
@supermodel.addRequestResource('user_names', jqxhrOptions).load() if jqxhrOptions
|
||||
|
||||
getRenderData: ->
|
||||
c = super()
|
||||
|
|
Loading…
Reference in a new issue