MDUX#38656 Staffeltabelwaarden kunnen bewerken

svn path=/Website/branches/v2016.2/; revision=31857
This commit is contained in:
Jos Groot Lipman
2016-12-06 15:24:42 +00:00
parent 5e5d75083f
commit 08cb0c3e92
2 changed files with 9 additions and 13 deletions

View File

@@ -11,6 +11,7 @@
Notes:
*/
%>
<!-- #include file="./model_bes_staffel.inc" -->
<%
function model_bes_staffeltabel()
@@ -59,6 +60,13 @@ function model_bes_staffeltabel()
"typ": "check0"
}
};
this.includes = {
"bes_staffels": {
"model": new model_bes_staffel(),
"joinfield": "bes_staffeltabel_key",
"enable_update": true
}
};
this.REST_GET = generic_REST_GET(this);

View File

@@ -2,19 +2,9 @@
<!-- #include file="../scf/scaffolding.inc" -->
<!-- #include file="../api2/model_bes_staffeltabel.inc" -->
<!-- #include file="../api2/model_bes_staffel.inc" -->
<%
var this_model = new model_bes_staffeltabel();
this_model.includes = {
"bes_staffels": {
"model": new model_bes_staffel(),
"joinfield": "bes_staffeltabel_key",
"enable_update": true
}
};
var incl_staffel = this_model.includes.bes_staffels.model;
incl_staffel.list = {
"columns": [
@@ -27,8 +17,6 @@ incl_staffel.list = {
incl_staffel.edit = {
"modal": true
};
incl_staffel.print = {};
scaffolding(this_model,
{
@@ -48,7 +36,7 @@ scaffolding(this_model,
]
},
"edit":{
"modal": true
"modal": false
}
});
%>