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: ->
|
render: ->
|
||||||
@html App.view('generic/column_select')( @options.attribute )
|
@html App.view('generic/column_select')( @options.attribute )
|
||||||
|
|
||||||
# keep height fixed
|
# keep inital height
|
||||||
setTimeout =>
|
# disabled for now since controls in modals get rendered hidden
|
||||||
@el.css 'height', @el.height()
|
# and thus have no height
|
||||||
, 0
|
# setTimeout =>
|
||||||
|
# @el.css 'height', @el.height()
|
||||||
|
# , 0
|
||||||
|
|
||||||
onSelect: (event) ->
|
onSelect: (event) ->
|
||||||
@select $(event.currentTarget).attr('data-value')
|
@select $(event.currentTarget).attr('data-value')
|
||||||
|
|
Loading…
Reference in a new issue