From 0f6384fd56c757afba9edfa496bfe4e2833b39f8 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Tue, 9 Feb 2016 16:05:42 +0100 Subject: [PATCH] columnSelect: disable fixed height --- .../javascripts/app/lib/app_post/column_select.coffee | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/app/lib/app_post/column_select.coffee b/app/assets/javascripts/app/lib/app_post/column_select.coffee index d0be820fb..d7a7fa24c 100644 --- a/app/assets/javascripts/app/lib/app_post/column_select.coffee +++ b/app/assets/javascripts/app/lib/app_post/column_select.coffee @@ -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')