Wijzigingen nav opmerking Peter 24-12-2018
This commit is contained in:
@@ -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 );
|
||||
} );
|
||||
|
||||
Reference in New Issue
Block a user