From c2f34ee0add78c69e6a95fab8143b79ed17064da Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 18 Dec 2017 13:37:00 +0100 Subject: [PATCH] Small fix in plain-text rows detection --- skins/elastic/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skins/elastic/ui.js b/skins/elastic/ui.js index aca952729..8dc07ded6 100644 --- a/skins/elastic/ui.js +++ b/skins/elastic/ui.js @@ -639,7 +639,7 @@ function rcube_elastic_ui() // Other forms, e.g. Contact advanced search $('fieldset.propform:not(.groupped) div.row', context).each(function() { - var has_input = $('input,select,textarea', this).addClass('form-control').length > 0; + var has_input = $('input:not([type=hidden]),select,textarea', this).addClass('form-control').length > 0; $(this).children().last().addClass('col-sm-8' + (!has_input ? ' form-control-plaintext' : '')); $(this).children().first().addClass('col-sm-4 col-form-label');