Merge branch 'feature/loading-views' of https://github.com/codecombat/codecombat into feature/loading-views
Conflicts: server/commons/Handler.coffee
This commit is contained in:
commit
360e594f3d
3 changed files with 7 additions and 7 deletions
app/views/editor/level
|
@ -31,7 +31,7 @@ module.exports = class SystemsTabView extends View
|
|||
url = "/db/level.system/#{system.original}/version/#{system.majorVersion}"
|
||||
ls = new LevelSystem()
|
||||
ls.saveBackups = true
|
||||
lsRes = @supermodel.addModelResource(ls, 'level_system_' + system.original);
|
||||
lsRes = @supermodel.addModelResource(ls, 'level_system_' + system.original)
|
||||
do (url) -> ls.url = -> url
|
||||
continue if @supermodel.getModelByURL ls.url
|
||||
lsRes.load()
|
||||
|
|
Reference in a new issue