FCLT#57047 DIV om mobile flexlabels

svn path=/Website/branches/v2019.1/; revision=41717
This commit is contained in:
Alex Tiehuis
2019-03-21 10:11:36 +00:00
parent fa2c69719e
commit 0743049555

View File

@@ -353,7 +353,7 @@ function kenmerk_regel(kv_params)
kvhtml += ('\n <td class="label' + (kv_params.ktype == 'L' || kv_params.ktype == 'l'? ' flexlabel' : '')+ (kv_params.kenmerk_search? ' flexsearch' : '') + '"'
+ (kv_params.props.label_colspan? ' colspan=' + kv_params.props.label_colspan : '') + '>');
if (kv_params.formobile && kv_params.ktype.toUpperCase() == 'L')
if (kv_params.formobile && kv_params.ktype == 'L')
kvhtml += '<div class="fldflexl">';
if (!kv_params.nolabel && !kv_params.ishidden)
kvhtml += ((kv_params.formobile && kv_params.ktype == 'l'? '<div data-role="collapsible" data-theme="c" data-content-theme="c"><h3 id="collLabel'+kv_params.clabelCounter+'">' : '')
@@ -374,7 +374,7 @@ function kenmerk_regel(kv_params)
{
kvhtml += '\n <span class="flexlabelvalue">' + kv_params.kv + '</span>';
}
if (kv_params.formobile && kv_params.ktype.toUpperCase() == 'L')
if (kv_params.formobile && kv_params.ktype == 'L')
kvhtml += '</div>';
// Bij mobile willen we de checkbox en zijn label in dezelfde ene TD hebben met colspan=2.