FSN#35170 suppress empties tbv user_info

svn path=/Website/trunk/; revision=28641
This commit is contained in:
Ruud Lipper
2016-03-25 14:21:02 +00:00
parent 2be1da2b10
commit 2f9e60d206

View File

@@ -214,11 +214,11 @@ if (prs_key > 0) // Fotoblokje alleen bij bestaande records
readonly: !prsauthparams.writeman readonly: !prsauthparams.writeman
}); });
manRWFIELD("prs_tussen","fldshort", L("lcl_prs_person_tussen"), prs_tussen, {maxlength: 15}); manRWFIELD("prs_tussen","fldshort", L("lcl_prs_person_tussen"), prs_tussen, {maxlength: 15, suppressEmpty: true});
manRWFIELD("prs_vltr", "fldshort", L("lcl_prs_person_voorletters"), prs_vltr, {maxlength: 15}); manRWFIELD("prs_vltr", "fldshort", L("lcl_prs_person_voorletters"), prs_vltr, {maxlength: 15, suppressEmpty: true});
manRWFIELD("prs_vrnaam","fld", L("lcl_prs_person_voornaam"), prs_vrnaam, {maxlength: 30}); manRWFIELD("prs_vrnaam","fld", L("lcl_prs_person_voornaam"), prs_vrnaam, {maxlength: 30});
manRWFIELD("prs_titel", "fldshort", L("lcl_prs_person_title"), prs_titel, {maxlength: 15}); manRWFIELD("prs_titel", "fldshort", L("lcl_prs_person_title"), prs_titel, {maxlength: 15, suppressEmpty: true});
manRWFIELD("prs_ini", "fldshort", L("lcl_prs_person_initials"), prs_ini, {maxlength: 10}); manRWFIELD("prs_ini", "fldshort", L("lcl_prs_person_initials"), prs_ini, {maxlength: 10, suppressEmpty: true});
if (S("language_toggles").length > 1) if (S("language_toggles").length > 1)
{ {
@@ -289,8 +289,8 @@ BLOCK_START("prsPerslid2", L("lcl_prs_organisatieblok"));
required: true required: true
}); });
manRWFIELD("prs_opp", "fldshort", L("lcl_prs_person_opp"), prs_opp, {maxlength: 10, datatype: "float"}); manRWFIELD("prs_opp", "fldshort", L("lcl_prs_person_opp"), prs_opp, {maxlength: 10, datatype: "float", suppressEmpty: true});
manRWFIELD("prs_dnst", "fldshort", L("lcl_prs_person_dienstverband"), prs_dnst, {maxlength: 5, datatype: "float"}); manRWFIELD("prs_dnst", "fldshort", L("lcl_prs_person_dienstverband"), prs_dnst, {maxlength: 5, datatype: "float", suppressEmpty: true});
if (S("prs_perslid_datums") == 1) if (S("prs_perslid_datums") == 1)
{ {
@@ -334,7 +334,7 @@ BLOCK_START("prsPerslid2", L("lcl_prs_organisatieblok"));
}); });
if (S("prs_hide_fixed_fields") == 0 ) { if (S("prs_hide_fixed_fields") == 0 ) {
manRWFIELD("prs_uurln", "fldshort", L("lcl_prs_person_uurloon"), prs_uurln, {maxlength: 8, datatype: "float"}); manRWFIELD("prs_uurln", "fldshort", L("lcl_prs_person_uurloon"), prs_uurln, {maxlength: 8, datatype: "float", suppressEmpty: true});
} }
BLOCK_END(); BLOCK_END();