UWVA#40137 S("vis_remark") extra betekenis 3 ==> altijd readonly (door systeem gevuld)

svn path=/Website/branches/v2016.3/; revision=33482
This commit is contained in:
Jos Groot Lipman
2017-04-13 13:23:40 +00:00
parent 3be0557c66
commit 5fba7bd976
2 changed files with 4 additions and 4 deletions

View File

@@ -72,7 +72,7 @@ function bez_edit_bezoekers(afspraak_key, afspraak_begin, afspraak_eind, loc_key
<% } %> <% } %>
<th><%=L("lcl_vis_name")%></th> <th><%=L("lcl_vis_name")%></th>
<th><%=L("lcl_vis_company")%><%=S("bez_sel_internpersoon") == 1? "/" + L("lcl_department") : ""%></th> <th><%=L("lcl_vis_company")%><%=S("bez_sel_internpersoon") == 1? "/" + L("lcl_department") : ""%></th>
<% if (S("vis_remark") != 0) <% if (S("vis_remark") == 1 || S("vis_remark") == 2)
{ %> { %>
<th><%=L("lcl_vis_remark")%></th> <th><%=L("lcl_vis_remark")%></th>
<% } %> <% } %>
@@ -197,7 +197,7 @@ function bez_edit_bezoekers(afspraak_key, afspraak_begin, afspraak_eind, loc_key
{ maxlength: (params.contactonly? null : "60"), readonly: bezreado, html: (params.contactonly? "sgonChange='ContactpersoonBedrijfSelected'" : '') } ) { maxlength: (params.contactonly? null : "60"), readonly: bezreado, html: (params.contactonly? "sgonChange='ContactpersoonBedrijfSelected'" : '') } )
%> %>
</td> </td>
<% if (S("vis_remark") != 0) <% if (S("vis_remark") == 1 || S("vis_remark") == 2)
{ {
%> <td> <% %> <td> <%
RWFIELD("opm" + next_vis, "fld", "", oRs("bez_bezoekers_opmerking").Value, { maxlength: 50 } ); RWFIELD("opm" + next_vis, "fld", "", oRs("bez_bezoekers_opmerking").Value, { maxlength: 50 } );
@@ -371,7 +371,7 @@ function bez_edit_bezoekers(afspraak_key, afspraak_begin, afspraak_eind, loc_key
Bij suggestbox met contactpersonen/bedrijven (params.contactonly) geen maximale lengte eis. */ %> Bij suggestbox met contactpersonen/bedrijven (params.contactonly) geen maximale lengte eis. */ %>
ih.insertCell(-1).innerHTML = '<input type="text" class="fld" name="bez' + next_vis + '" id="bez' + next_vis + '" <% if (!params.contactonly) {%> onChange="checkRequiredGroup(\'10S' + next_vis + '\')" <% } %> <%=params.contactonly? 'sgonChange="ContactpersoonBedrijfSelected"' : 'maxlength="30" onChange="checkRequiredGroup(\\\'10S' + next_vis + '\\\')"'%>>'; ih.insertCell(-1).innerHTML = '<input type="text" class="fld" name="bez' + next_vis + '" id="bez' + next_vis + '" <% if (!params.contactonly) {%> onChange="checkRequiredGroup(\'10S' + next_vis + '\')" <% } %> <%=params.contactonly? 'sgonChange="ContactpersoonBedrijfSelected"' : 'maxlength="30" onChange="checkRequiredGroup(\\\'10S' + next_vis + '\\\')"'%>>';
ih.insertCell(-1).innerHTML = '<input type="text" class="fld" name="bed' + next_vis + '" id="bed' + next_vis + '" <%=params.contactonly? 'sgonChange="ContactpersoonBedrijfSelected"' : 'maxlength="60"'%>>'; ih.insertCell(-1).innerHTML = '<input type="text" class="fld" name="bed' + next_vis + '" id="bed' + next_vis + '" <%=params.contactonly? 'sgonChange="ContactpersoonBedrijfSelected"' : 'maxlength="60"'%>>';
<% if (S("vis_remark") != 0) <% if (S("vis_remark") == 1 || S("vis_remark") == 2)
{ %> { %>
ih.insertCell(-1).innerHTML = '<input type="text" class="fld" name="opm' + next_vis + '" id="opm' + next_vis + '" maxlength="50">'; ih.insertCell(-1).innerHTML = '<input type="text" class="fld" name="opm' + next_vis + '" id="opm' + next_vis + '" maxlength="50">';
<% } %> <% } %>

View File

@@ -122,7 +122,7 @@ oRs.Close();
RWFIELDTR("bez" + next_vis, "fld", L("lcl_vis_name"), this_bez.bezoeker_naam, { maxlength: 30, readonly: bezreado }); RWFIELDTR("bez" + next_vis, "fld", L("lcl_vis_name"), this_bez.bezoeker_naam, { maxlength: 30, readonly: bezreado });
RWFIELDTR("bed" + next_vis, "fld", company, this_bez.bedrijf_naam, { maxlength: 60, readonly: bezreado }); RWFIELDTR("bed" + next_vis, "fld", company, this_bez.bedrijf_naam, { maxlength: 60, readonly: bezreado });
if (S("vis_remark") != 0) if (S("vis_remark") == 1 || S("vis_remark") == 2)
{ {
RWFIELDTR("opm" + next_vis, "fld", L("lcl_vis_remark"), this_bez.opmerking, { maxlength: 50 }); RWFIELDTR("opm" + next_vis, "fld", L("lcl_vis_remark"), this_bez.opmerking, { maxlength: 50 });
} }