diff --git a/APPL/INS/ins_edit_deel.asp b/APPL/INS/ins_edit_deel.asp index d41663a606..f6b7359ecc 100644 --- a/APPL/INS/ins_edit_deel.asp +++ b/APPL/INS/ins_edit_deel.asp @@ -583,6 +583,21 @@ var ins_deel_aantal = 1; FcltMgr.alert(msg); return false; } + + function cadShowdiscfn() + { <% + if (disc_key != -1) + { %> + return <%=disc_key%>; + <% } + else + { %> + if ($("input#disc") && $("input#disc").val()) + return $("input#disc").val(); + return -1; + <% } %> + }; +