drag en drop zichtbaar na switchen paginas

This commit is contained in:
Monique
2022-10-09 11:58:13 +02:00
parent cc4ead0867
commit 58d2afaf9a
2 changed files with 11 additions and 12 deletions
+2 -1
View File
@@ -76,7 +76,8 @@ class MY_Controller extends CI_Controller{
// public $version = '1.18.00';// alle instrumenten in het compact sop // public $version = '1.18.00';// alle instrumenten in het compact sop
// public $version = '1.18.02';// fout in resultaatmatrix // public $version = '1.18.02';// fout in resultaatmatrix
// public $version = '1.18.04';// invul status // public $version = '1.18.04';// invul status
public $version = '1.18.05';// drag and drop // public $version = '1.18.05';// drag and drop
public $version = '1.18.06';// drag and drop zichtbaar na switchen
+9 -11
View File
@@ -195,22 +195,15 @@ ls.initOntwikkelModel = function(){
basisOMG : ko.observableArray([new fIcoon("omgevingGrijs"), new fIcoon("omgevingRood"), new fIcoon("omgevingOranje"), new fIcoon("omgevingGroen"), new fIcoon("omgevingBlauw")]), basisOMG : ko.observableArray([new fIcoon("omgevingGrijs"), new fIcoon("omgevingRood"), new fIcoon("omgevingOranje"), new fIcoon("omgevingGroen"), new fIcoon("omgevingBlauw")]),
omgevingen : ko.observableArray(), omgevingen : ko.observableArray(),
initBindings :function(){ initBindings :function(){
var self = ls.OntwikkelModel; var self = ls.OntwikkelModel;
if (!ko.dataFor(document.getElementById('pagontwikkel')) ) { if (!ko.dataFor(document.getElementById('pagontwikkel')) ) {
ko.applyBindings(ls.OntwikkelModel, document.getElementById("pagontwikkel")); ko.applyBindings(ls.OntwikkelModel, document.getElementById("pagontwikkel"));
} }
self.initModel(); $.post("index.php/monpas/rapijkpunten/checkLevel", function(data){
},
initModel: function() {
var self = ls.OntwikkelModel;
$.post("index.php/monpas/rapijkpunten/checkLevel", function(data){
if(data){ if(data){
if(data === 1) if(data === 1)
self.level123(true); self.level123(true);
} }
$.post("index.php/monpas/rapontwikkel/getModule", function(result){ $.post("index.php/monpas/rapontwikkel/getModule", function(result){
if(result){ if(result){
@@ -222,6 +215,13 @@ ls.initOntwikkelModel = function(){
self.fGetOrganisaties(); self.fGetOrganisaties();
},'json') },'json')
},'json') },'json')
self.initModel();
},
initModel: function() {
var self = ls.OntwikkelModel;
}, },
@@ -247,8 +247,6 @@ ls.initOntwikkelModel = function(){
self.usernivo(result); self.usernivo(result);
self.selectedOrg(self.toporg()); self.selectedOrg(self.toporg());
self.fGetWriteAutorisatie(self.fSwitchLevel()); self.fGetWriteAutorisatie(self.fSwitchLevel());
},'json'); },'json');
} // if } // if
self.bezig(false); self.bezig(false);