namen compact sop + layoutverbeteringen
This commit is contained in:
@@ -1280,7 +1280,7 @@ z-index: 50;
|
||||
/*.randinactief{*/
|
||||
/* border: 1px solid #bfbfbf;*/
|
||||
/*}*/
|
||||
.geenrand{
|
||||
.vergeenrand{
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
@@ -361,7 +361,13 @@ mh.initCompactSopModel = function(){
|
||||
});//each
|
||||
if (self.schooljaren() ) self.selectedSchooljaar(self.schooljaren()[0]);
|
||||
self.organisaties(data.organisaties);
|
||||
self.selectedOrganisatie(self.organisaties()[0]);
|
||||
if(self.organisaties().length === 1)self.selectedOrganisatie(self.organisaties()[0])
|
||||
else{
|
||||
$.each(self.organisaties(), function(i,o){
|
||||
if(o.soort === self.toporgnr())
|
||||
self.selectedOrganisatie(self.organisaties()[i])
|
||||
})
|
||||
}
|
||||
} // if
|
||||
self.druk(false);
|
||||
if (typeof callback == "function") callback()
|
||||
@@ -374,6 +380,8 @@ mh.initCompactSopModel = function(){
|
||||
if(self.selectedSchooljaar() === undefined || self.selectedOrganisatie === undefined){
|
||||
return;
|
||||
}
|
||||
console.log(self.selectedOrganisatie().soort, 'orgsoort')
|
||||
|
||||
switch(self.selectedOrganisatie().soort){
|
||||
|
||||
case '1':
|
||||
|
||||
Reference in New Issue
Block a user