columnSelect: disable fixed height
This commit is contained in:
parent
0f542c6980
commit
0f6384fd56
1 changed files with 6 additions and 4 deletions
|
@ -29,10 +29,12 @@ class App.ColumnSelect extends Spine.Controller
|
|||
render: ->
|
||||
@html App.view('generic/column_select')( @options.attribute )
|
||||
|
||||
# keep height fixed
|
||||
setTimeout =>
|
||||
@el.css 'height', @el.height()
|
||||
, 0
|
||||
# keep inital height
|
||||
# disabled for now since controls in modals get rendered hidden
|
||||
# and thus have no height
|
||||
# setTimeout =>
|
||||
# @el.css 'height', @el.height()
|
||||
# , 0
|
||||
|
||||
onSelect: (event) ->
|
||||
@select $(event.currentTarget).attr('data-value')
|
||||
|
|
Loading…
Reference in a new issue