drag en drop zichtbaar na switchen paginas
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user