diff --git a/public/js/monpas/models/ontwikkelmodel.js b/public/js/monpas/models/ontwikkelmodel.js index fa4cac3..6339ffe 100644 --- a/public/js/monpas/models/ontwikkelmodel.js +++ b/public/js/monpas/models/ontwikkelmodel.js @@ -92,7 +92,7 @@ ls.initOntwikkelModel = function(){ this.ijkpuntid = p.ijkpunt_id; this.wensid = 0; - // if (p.gewenstid) { this.wensid = p.gewenstid; } + if (p.gewenstid) { this.wensid = p.gewenstid; } this.scoretype = p.scoretype; this.disabled = p.disabled; this.disablentv = p.disablenvt; @@ -438,9 +438,9 @@ ls.initOntwikkelModel = function(){ } var wensarray = []; $.each(self.results() , function(i,p){ - wensarray[i]={ 'ijkpuntid' : p.ijkpuntid, - 'wensid' : p.wensid, - 'gewenst' : p.gewenst() }; + wensarray[i]={ 'ijkpuntid' : p.ijkpuntid, + 'wensid' : p.wensid, + 'gewenst' : p.gewenst() }; });