FCLT#65897 Kenmerk-blokken breed kunnen maken
svn path=/Website/trunk/; revision=50638
This commit is contained in:
@@ -3,18 +3,14 @@
|
||||
$Id$
|
||||
*/
|
||||
|
||||
$(document).ready(function () {
|
||||
setTimeout("init_srtruimte()", 100);
|
||||
});
|
||||
|
||||
function init_srtruimte()
|
||||
{
|
||||
$(function ()
|
||||
{ // initialisatie
|
||||
$("#hasworkplace").change( onChangeHasworkplace );
|
||||
$("#processingtime").change( onChangeProcessingtime );
|
||||
|
||||
onChangeHasworkplace();
|
||||
onChangeProcessingtime();
|
||||
}
|
||||
});
|
||||
|
||||
function onChangeProcessingtime()
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
$(function ()
|
||||
{
|
||||
setTimeout("init_aut_idp()", 10);
|
||||
});
|
||||
/*
|
||||
$Revision$
|
||||
$Id$
|
||||
*/
|
||||
|
||||
function init_aut_idp()
|
||||
{
|
||||
$(function ()
|
||||
{ // initialisatie
|
||||
var typ = $("input#type").val();
|
||||
var fld_hide = "";
|
||||
var fld_show = "";
|
||||
@@ -27,6 +27,5 @@ function init_aut_idp()
|
||||
jQuery.each(fld_show.split(" "), function(i, name) {
|
||||
$("#" + this).closest("tr").show();
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
$(function ()
|
||||
{
|
||||
setTimeout("init_bes_srtdeel()", 100);
|
||||
});
|
||||
/*
|
||||
$Revision$
|
||||
$Id$
|
||||
*/
|
||||
|
||||
function init_bes_srtdeel()
|
||||
{
|
||||
$(function ()
|
||||
{ // initialisatie
|
||||
$("#image").val(image_naam); // var image_naam: gezet in bes_srtdeel.asp
|
||||
//$("#image").prop("disabled", true);
|
||||
// Vervang de default actie op de toevoegknop door een eigen actie.
|
||||
$("#btn_scf_add").attr("fcltclick", "bes_srtdeel_add()");
|
||||
$("#btn_scf_submit").attr("fcltclick", "bes_srtdeel_submit();");
|
||||
}
|
||||
});
|
||||
|
||||
function bes_srtdeel_add()
|
||||
{
|
||||
|
||||
@@ -4,13 +4,7 @@
|
||||
*/
|
||||
|
||||
$(function ()
|
||||
{
|
||||
setTimeout("init_cad_legendawaarde()", 100);
|
||||
});
|
||||
|
||||
|
||||
function init_cad_legendawaarde()
|
||||
{
|
||||
{ // initialisatie
|
||||
var kleur = "#" + $("#rgb").val();
|
||||
|
||||
$("#rgb").on("change", function() { change_rgb(); });
|
||||
@@ -31,7 +25,7 @@ function init_cad_legendawaarde()
|
||||
showOn: "button"
|
||||
});
|
||||
FcltMgr.resized();
|
||||
}
|
||||
});
|
||||
|
||||
function showColor()
|
||||
{
|
||||
|
||||
@@ -4,14 +4,9 @@
|
||||
*/
|
||||
|
||||
$(function ()
|
||||
{
|
||||
setTimeout("init_gebruikersgroep()", 100);
|
||||
});
|
||||
|
||||
function init_gebruikersgroep()
|
||||
{
|
||||
{ // initialisatie
|
||||
$("#_fromperson_show").blur( change_fromperson_show );
|
||||
}
|
||||
});
|
||||
|
||||
function change_fromperson_show()
|
||||
{
|
||||
|
||||
@@ -3,14 +3,10 @@
|
||||
$Id$
|
||||
*/
|
||||
|
||||
$(document).ready(function () {
|
||||
setTimeout("init_discipline()", 100);
|
||||
});
|
||||
|
||||
function init_discipline()
|
||||
{
|
||||
$(function ()
|
||||
{ // initialisatie
|
||||
$("#_upload").addClass("insdsymbol_button").click(Upload);
|
||||
}
|
||||
});
|
||||
|
||||
function Upload()
|
||||
{
|
||||
|
||||
@@ -6,21 +6,15 @@
|
||||
var changed_bits = 0;
|
||||
var changed_mode = 0;
|
||||
|
||||
|
||||
$(function ()
|
||||
{
|
||||
setTimeout("init_srtcontrole()", 100);
|
||||
});
|
||||
|
||||
function init_srtcontrole()
|
||||
{
|
||||
{ // initialisatie
|
||||
$("#inspectionmode").change(change_mode);
|
||||
$("#unit").change(change_unit);
|
||||
$("#_moment").click(SelectBits);
|
||||
$("#taskdiscipline").change(change_ctr_discipline);
|
||||
|
||||
change_ctr_discipline(true); // initieel goed zetten.
|
||||
}
|
||||
});
|
||||
|
||||
function change_mode()
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
$(function ()
|
||||
{
|
||||
setTimeout("init()", 100);
|
||||
});
|
||||
/*
|
||||
$Revision$
|
||||
$Id$
|
||||
*/
|
||||
|
||||
function init()
|
||||
{
|
||||
$(function ()
|
||||
{ // initialisatie
|
||||
$("#issuetype_show").attr("sgonChange", "stdm_onchange");
|
||||
$("#issuediscipline_show").attr("sgonChange", "disc_onchange");
|
||||
sgissuetype.reloadUrlAdd([{urlParam: 'disc_key', field: 'issuediscipline' }]);
|
||||
@@ -12,7 +12,7 @@ function init()
|
||||
// mld_ins_discipline zetten als deze leeg is maar mld_stdmelding wel gevuld.
|
||||
if (sgissuediscipline.getValue() < 0)
|
||||
stdm_onchange();
|
||||
}
|
||||
});
|
||||
|
||||
function disc_onchange()
|
||||
{
|
||||
|
||||
@@ -3,54 +3,49 @@
|
||||
$Id$
|
||||
*/
|
||||
|
||||
|
||||
var has_mld_issuetype_key = false;
|
||||
$(function ()
|
||||
{
|
||||
setTimeout("init_mld_kenmerk()", 100);
|
||||
});
|
||||
|
||||
function init_mld_kenmerk()
|
||||
{
|
||||
var isOpdrachtKenmerk = (niveau == "P" || niveau == "O");
|
||||
has_mld_issuetype_key = false;
|
||||
$("#issuepropertytype").change(change_issuepropertytype);
|
||||
if (!isOpdrachtKenmerk)
|
||||
{
|
||||
if (niveau == "T")
|
||||
$(function ()
|
||||
{ // initialisatie
|
||||
var isOpdrachtKenmerk = (niveau == "P" || niveau == "O");
|
||||
has_mld_issuetype_key = false;
|
||||
$("#issuepropertytype").change(change_issuepropertytype);
|
||||
if (!isOpdrachtKenmerk)
|
||||
{
|
||||
$("#disciplinetype").prev().text(" "); // Op disciplinetype wil ik geen multiselect!
|
||||
$("#disciplinetype").change(change_disciplinetype);
|
||||
if (niveau == "T")
|
||||
{
|
||||
$("#disciplinetype").prev().text(" "); // Op disciplinetype wil ik geen multiselect!
|
||||
$("#disciplinetype").change(change_disciplinetype);
|
||||
}
|
||||
else if (niveau == "D")
|
||||
{
|
||||
$("#discipline_show").attr("sgonChange", "change_discipline");
|
||||
}
|
||||
else if (niveau == "S")
|
||||
{
|
||||
$("#mld_issuetype_show").attr("sgonChange", "change_mld_issuetype");
|
||||
}
|
||||
else if (niveau == "M")
|
||||
{
|
||||
$("#disciplinetype").prev().text(" "); // Op disciplinetype wil ik geen multiselect!
|
||||
$("#disciplinetype").change(change_disciplinetype);
|
||||
$("#discipline_show").attr("sgonChange", "change_discipline");
|
||||
$("#mld_issuetype_show").attr("sgonChange", "change_mld_issuetype");
|
||||
if (mode == "search")
|
||||
{
|
||||
sgdiscipline.reloadUrlAdd([{urlParam: "srtdisc_key", field: "disciplinetype" }]);
|
||||
sgmld_issuetype.reloadUrlAdd([{urlParam: "disc_key", field: "discipline" }]);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (niveau == "D")
|
||||
else
|
||||
{
|
||||
$("#discipline_show").attr("sgonChange", "change_discipline");
|
||||
if (!$("#ordertype").length)
|
||||
{ // Voeg een hidden field toe voor het veld waarop gefilterd is.
|
||||
$("<input>").attr({type: "hidden", id: "ordertype", name: "ordertype", value: ordertype_key}).appendTo("form");
|
||||
}
|
||||
}
|
||||
else if (niveau == "S")
|
||||
{
|
||||
$("#mld_issuetype_show").attr("sgonChange", "change_mld_issuetype");
|
||||
}
|
||||
else if (niveau == "M")
|
||||
{
|
||||
$("#disciplinetype").prev().text(" "); // Op disciplinetype wil ik geen multiselect!
|
||||
$("#disciplinetype").change(change_disciplinetype);
|
||||
$("#discipline_show").attr("sgonChange", "change_discipline");
|
||||
$("#mld_issuetype_show").attr("sgonChange", "change_mld_issuetype");
|
||||
if (mode == "search")
|
||||
{
|
||||
sgdiscipline.reloadUrlAdd([{urlParam: "srtdisc_key", field: "disciplinetype" }]);
|
||||
sgmld_issuetype.reloadUrlAdd([{urlParam: "disc_key", field: "discipline" }]);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!$("#ordertype").length)
|
||||
{ // Voeg een hidden field toe voor het veld waarop gefilterd is.
|
||||
$("<input>").attr({type: "hidden", id: "ordertype", name: "ordertype", value: ordertype_key}).appendTo("form");
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
function change_issuepropertytype()
|
||||
{
|
||||
|
||||
@@ -4,17 +4,12 @@
|
||||
*/
|
||||
|
||||
$(function ()
|
||||
{
|
||||
setTimeout("init_srtdiscipline()", 100);
|
||||
});
|
||||
|
||||
function init_srtdiscipline()
|
||||
{
|
||||
{ // initialisatie
|
||||
$("#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()
|
||||
{
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
/*
|
||||
$Revision$
|
||||
$Id$
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
$(document).ready(function () {
|
||||
setTimeout("init_stdmelding()", 100);
|
||||
});
|
||||
|
||||
function init_stdmelding()
|
||||
{
|
||||
$(function ()
|
||||
{ // initialisatie
|
||||
$("#disciplinetype").change( change_disciplinetype );
|
||||
$("#discipline").change( change_discipline );
|
||||
$("#_upload").addClass("stdmsymbol_button").click( Upload );
|
||||
@@ -39,7 +36,7 @@ function init_stdmelding()
|
||||
|
||||
fill_disciplineselector(init_srtdisc_key, init_disc_key);
|
||||
fill_issuetypeselector(0, 0);
|
||||
}
|
||||
});
|
||||
|
||||
function onChangeAccepttime()
|
||||
{
|
||||
|
||||
@@ -3,18 +3,12 @@
|
||||
$Id$
|
||||
*/
|
||||
|
||||
|
||||
$(function ()
|
||||
{
|
||||
setTimeout("init_bedrijfdienstlocatie()", 100);
|
||||
});
|
||||
|
||||
function init_bedrijfdienstlocatie()
|
||||
{
|
||||
{ // initialisatie
|
||||
// Laat de standaard toevoeg knop niet zien.
|
||||
// We willen niet de standaard functie gebruiken in prs_bedrijfdienstlocatie en prs_dienst.
|
||||
$("#btn_scf_add").hide();
|
||||
}
|
||||
});
|
||||
|
||||
function scf_add_location(dienst_key, bedrijf_key)
|
||||
{
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
$(function ()
|
||||
{
|
||||
setTimeout("init_kostenplaats()", 100);
|
||||
});
|
||||
/*
|
||||
$Revision$
|
||||
$Id$
|
||||
*/
|
||||
|
||||
function init_kostenplaats()
|
||||
{
|
||||
$(function ()
|
||||
{ // initialisatie
|
||||
$("#costlimit").change( checkLimit );
|
||||
$("#costgroup").change( change_costgroup );
|
||||
}
|
||||
});
|
||||
|
||||
function checkLimit(evt)
|
||||
{
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
$(function ()
|
||||
{
|
||||
setTimeout("init_prs_kostensoort()", 100);
|
||||
});
|
||||
/*
|
||||
$Revision$
|
||||
$Id$
|
||||
*/
|
||||
|
||||
function init_prs_kostensoort()
|
||||
{
|
||||
$(function ()
|
||||
{ // initialisatie
|
||||
$("#inclvat").change(function() {change_inclvat(); });
|
||||
change_inclvat();
|
||||
}
|
||||
});
|
||||
|
||||
function change_inclvat()
|
||||
{
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
$(function ()
|
||||
{
|
||||
setTimeout("init_res_srtactiviteit()", 100);
|
||||
});
|
||||
/*
|
||||
$Revision$
|
||||
$Id$
|
||||
*/
|
||||
|
||||
function init_res_srtactiviteit()
|
||||
{
|
||||
$(function ()
|
||||
{ // initialisatie
|
||||
$("#bookingactivitytypes").change(change_bookingactivitytypes);
|
||||
var bezorgmode_zichtbaar = $("#bookingactivitytypes option:selected").attr("res_srtactiviteit_soort") == "1";
|
||||
if (!bezorgmode_zichtbaar)
|
||||
$("#deliverymode").parent().parent().hide();
|
||||
}
|
||||
});
|
||||
|
||||
function change_bookingactivitytypes()
|
||||
{
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
/*
|
||||
$Revision$
|
||||
$Id$
|
||||
*/
|
||||
|
||||
var changed_bits = 0;
|
||||
var changed_mode = 0;
|
||||
var parking_key = s_vis_parking_key; // Waarde toegekend in model_res_deel.inc
|
||||
var multi_reservering = insMultiReserve;
|
||||
|
||||
$(function ()
|
||||
{
|
||||
setTimeout("init_res_deel()", 100);
|
||||
});
|
||||
|
||||
function init_res_deel()
|
||||
{
|
||||
{ // initialisatie
|
||||
if (multi_reservering)
|
||||
{ // Zo wordt gelijk de selectbox verplicht gezet.
|
||||
$("#scf_multi_bookingdiscipline").click().prop("disabled", true);
|
||||
@@ -26,7 +26,7 @@ function init_res_deel()
|
||||
{
|
||||
$("#_available").parent().parent().hide();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
function change_res_discipline_key()
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
$(function ()
|
||||
{
|
||||
setTimeout("init_srtinstallatie()", 100);
|
||||
});
|
||||
/*
|
||||
$Revision$
|
||||
$Id$
|
||||
*/
|
||||
|
||||
function init_srtinstallatie()
|
||||
{
|
||||
$(function ()
|
||||
{ // initialisatie
|
||||
$("#objectdiscipline_show").attr("sgonchange", "change_object_discipline"); // mld_stdmelding gebruikt INS_DISCIPLINE (suggestbox) als foreign.
|
||||
$("#objectdiscipline").change(function() {change_object_discipline(); });
|
||||
$("#objectgroup").change(function() {change_object_group(); });
|
||||
@@ -39,7 +39,7 @@ function init_srtinstallatie()
|
||||
fill_srtdeel(discipline_key, srtgroep_key, srtdeel_key);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
function change_object_discipline(srtgroep_key)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user