FSN#39638 Bulk bewerken via scaffolding

svn path=/Website/trunk/; revision=33637
This commit is contained in:
Jos Groot Lipman
2017-05-01 13:16:13 +00:00
parent 89d6f9d0d7
commit 956665a4a7
2 changed files with 5 additions and 3 deletions

View File

@@ -1,12 +1,14 @@
function pre_submit()
function pre_submit(isMulti)
{
if (isMulti)
return true; // te ingewikkeld
// var module: gezet in xxx_kenmerk.asp.
// var property_type: voor nieuw kenmerk uit formfield "property_type".
// voor bestaand kenmerk indien a) wijzigbaar: uit formfield "property_type"
// b) niet wijzigbaar: gezet in xxx_kenmerk.asp
var attributeType = ($("#attributetype").length == 0? property_type : $("#attributetype").val() );
var validation_message = "";
if (attributeType == "C" && $("#length").val() == "")
validation_message = L("mgt_srtkenmerk_lengte_val1");
if (attributeType == "N" && $("#length").val() == "")

View File

@@ -193,7 +193,7 @@ function scaffolding_edit(model, scf_params)
if (typeof pre_submit != "undefined")
{
if (!pre_submit())
if (!pre_submit(<%= multi?1:0 %>))
return false;
}