diuversen opmerkingen 19062018
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
/**
|
||||
* Created by Pensare Software.
|
||||
* User: Theo Weijmer
|
||||
* Date: 20/06/2018
|
||||
* Time: 14:11
|
||||
*/
|
||||
|
||||
dbo.authorisationInit = function () {
|
||||
|
||||
if ( dbo.authorisationModel !== undefined ) {
|
||||
|
||||
|
||||
} else {
|
||||
dbo.authorisationModel = {
|
||||
|
||||
roles : ko.observableArray([]) ,
|
||||
|
||||
init: function () {
|
||||
var self = dbo.authorisationModel;
|
||||
|
||||
self.refreshPageAuthorisations();
|
||||
},
|
||||
|
||||
refreshPageAuthorisations: function () {
|
||||
dbo.authorisationDataService.getRoleAuthorisations( function ( data ) {
|
||||
console.log( data );
|
||||
} );
|
||||
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
dbo.authorisationModel.init();
|
||||
|
||||
ko.applyBindings( dbo.authorisationModel, document.getElementById( 'AUTHORISATION' ) );
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user