nieuwe onderst. vorm ook opslaan als aantal 0 is

This commit is contained in:
2026-02-03 18:40:55 +01:00
parent c35552cc66
commit e265e257b8
3 changed files with 16 additions and 16 deletions
@@ -97,14 +97,14 @@ $(function(){
$.each(dit.ondersteuningsvormen(), function(x,y){
if (parseInt(y.nivo )=== 2 ){
console.log(y, 'wat is y')
if(y.archief() && y.orgid > 0)
toon = true;
}
});
}
console.log(toon);
return toon;
});
this.archiefextra = ko.computed(function(){
@@ -450,12 +450,11 @@ $(function(){
fToggleArchief: function(wat){
var self = ls.GroepenModel;
console.log(wat, 'wat');
if (!self.editGroep()) return;
if (wat === 2) self.editGroep().archief2(! self.editGroep().archief2());
if (wat === 3) self.editGroep().archief3(! self.editGroep().archief3());
if (wat === 4) self.editGroep().archief4(! self.editGroep().archief4());
console.log(self.editGroep().archief4(), 'archief4');
},
fCheckinput: function(data,elid){