HCAS#38971 Verplicht invullen onderwerp werkt niet op mobile

svn path=/Website/trunk/; revision=32534
This commit is contained in:
Erik Groener
2017-01-25 08:14:47 +00:00
parent e974e2c497
commit 137bedb93b

View File

@@ -573,7 +573,16 @@ if (action != "forward")
{ {
ROFIELD("fld", L("lcl_place"), plaats_string, {suppressEmpty: true} ); ROFIELD("fld", L("lcl_place"), plaats_string, {suppressEmpty: true} );
if (mld_info.subject != 0)
{
var txtreado = 0;
RWFIELD("melding_onderwerp", L("lcl_mld_subject"), mld_info.mld_onderwerp
, { pclass: ((mld_info.subject == 2 && (this_mld.canOmsChange || mld_key < 0) && !txtreado)? " required" : "") }
);
}
ROFIELD("fld", L("lcl_txt") , mld_info.mld_omschr, {multi: true}); ROFIELD("fld", L("lcl_txt") , mld_info.mld_omschr, {multi: true});
if (mld_info.mprio != 3) { if (mld_info.mprio != 3) {
ROFIELD("attention", L("lcl_mld_urg") , mld.getpriotext(mld_info.mprio)); ROFIELD("attention", L("lcl_mld_urg") , mld.getpriotext(mld_info.mprio));
} }