Wijzigingen nav opmerking Peter 24-12-2018

This commit is contained in:
2019-01-02 16:57:41 +01:00
parent 9569522c83
commit efcd9f2c09
19 changed files with 201 additions and 44 deletions
@@ -7,8 +7,8 @@
dbo.offerDataService = {
getAllOffers: function ( projectID, archive = 'F', callback ) {
$.getJSON( 'index.php/projects/offersController/getAllOffers/' + projectID + '/' + archive )
getAllOffers: function ( offersObject, callback ) {
$.post( 'index.php/projects/offersController/getAllOffers', offersObject, 'json' )
.done( function ( data ) {
callback( data );
} );
@@ -7,8 +7,8 @@
dbo.projectDataService = {
getAllProjects: function ( archive = 'F', callback ) {
$.getJSON( 'index.php/projects/projectsController/getAllProjects/' + archive )
getAllProjects: function ( projectsObject, callback ) {
$.post( 'index.php/projects/projectsController/getAllProjects', projectsObject, 'json' )
.done( function ( data ) {
callback( data );
} );