kleuren werden niet goed opgehaald bij resultaat matrix
This commit is contained in:
@@ -464,7 +464,7 @@ ls.initIJkpuntenModel = function(){
|
||||
self.ijkpunten.removeAll();
|
||||
self.aantal('');
|
||||
var teller = 0;
|
||||
if(result ) {
|
||||
if(result.lijsten[0].scores ) {
|
||||
$.each(result.lijsten, function (i, p) {
|
||||
if (p.scores || p.vergelijkingen) {
|
||||
self.erzijnlijsten(true);
|
||||
@@ -587,7 +587,7 @@ ls.initIJkpuntenModel = function(){
|
||||
'selectie': selectieOrgversies,
|
||||
'orgid': self.selectedOrg().id
|
||||
};
|
||||
console.log(submitData, "submitdata")
|
||||
|
||||
|
||||
// showAjaxLoader();
|
||||
self.lijsten.removeAll();
|
||||
|
||||
@@ -91,7 +91,9 @@ $(function () {
|
||||
this.organisaties = ko.observableArray([]);
|
||||
if (p.users) {
|
||||
$.each(p.users, function (j, k) {
|
||||
dit.organisaties.push(new fAddOrgIndeling(k));
|
||||
|
||||
dit.organisaties.push(new fAddOrgIndeling(k));
|
||||
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -126,8 +128,8 @@ $(function () {
|
||||
this.gem = Math.round(parseFloat(k.gem));
|
||||
}
|
||||
this.num = k.nummer;
|
||||
this.colorcode = '#e08885';
|
||||
if(k.kleurcode) this.colorcode = k.kleurcode;
|
||||
// this.colorcode = '#e08885';
|
||||
this.colorcode = k.kleur ? k.kleur : "#cccccc";
|
||||
if (k.disabled == "T" || k.disablenvt == "T") {
|
||||
this.gem='';
|
||||
this.colorcode="#cccccc";
|
||||
@@ -264,6 +266,7 @@ $(function () {
|
||||
// wordt aangeroepen voor dat alle orgversions zijn ingelezen en selectedOrgversion is gezet.
|
||||
self.bezig(true);
|
||||
self.orgversions.removeAll();
|
||||
|
||||
if (data) {
|
||||
$.each(data, function (i, p) {
|
||||
self.orgversions.push(new fAddOrgversion(p));
|
||||
|
||||
Reference in New Issue
Block a user