FSN#37089: Kostenplaats ook niet tonen voor Front Office.
svn path=/Website/trunk/; revision=40578
This commit is contained in:
51
APPL/MGT/mld_srtdiscipline.js
Normal file
51
APPL/MGT/mld_srtdiscipline.js
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
$Revision$
|
||||
$Id$
|
||||
*/
|
||||
|
||||
$(function ()
|
||||
{
|
||||
setTimeout("init_srtdiscipline()", 100);
|
||||
});
|
||||
|
||||
function init_srtdiscipline()
|
||||
{
|
||||
$("#fe_on").change(change_kostenplaats_fe_on);
|
||||
$("#fe_notshow").change(change_kostenplaats_fe_notshow);
|
||||
$("#fobo_on").change(change_kostenplaats_fobo_on);
|
||||
$("#fobo_notshow").change(change_kostenplaats_fobo_notshow);
|
||||
}
|
||||
|
||||
function change_kostenplaats_fe_on()
|
||||
{
|
||||
if (document.getElementById("fe_on").checked && document.getElementById("fe_notshow").checked)
|
||||
{
|
||||
document.getElementById("fe_notshow").checked = false;
|
||||
}
|
||||
}
|
||||
|
||||
function change_kostenplaats_fe_notshow()
|
||||
{
|
||||
if (document.getElementById("fe_on").checked && document.getElementById("fe_notshow").checked)
|
||||
{
|
||||
document.getElementById("fe_on").checked = false;
|
||||
}
|
||||
}
|
||||
|
||||
function change_kostenplaats_fobo_on()
|
||||
{
|
||||
if (document.getElementById("fobo_on").checked && document.getElementById("fobo_notshow").checked)
|
||||
{
|
||||
document.getElementById("fobo_notshow").checked = false;
|
||||
}
|
||||
}
|
||||
|
||||
function change_kostenplaats_fobo_notshow()
|
||||
{
|
||||
if (document.getElementById("fobo_on").checked && document.getElementById("fobo_notshow").checked)
|
||||
{
|
||||
document.getElementById("fobo_on").checked = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user