Removes okay button, hides modal upon generation

This commit is contained in:
Jayant Jain 2014-07-11 01:43:51 +05:30
parent a76a79bb9d
commit d6928eb1c4
2 changed files with 3 additions and 1 deletions

View file

@ -11,4 +11,5 @@ block modal-body-content
span(data-i18n="ladder.small") Small
div.preset-name
span(data-i18n="ladder.grassy") Grassy
//- for model in models
//- for model in models
block modal-footer

View file

@ -91,6 +91,7 @@ module.exports = class TerrainRandomiseModal extends ModalView
Backbone.Mediator.publish('randomise:terrain-generated',
'thangs': @thangs
)
@hide()
randomiseThangs: (presetName, presetSize) ->
preset = presets[presetName]