This commit is contained in:
2018-01-11 08:56:24 +01:00
parent e9ba38d67d
commit 9621a31a69
@@ -9,14 +9,14 @@
dbo.documentsDataService = {
getdocuments: function ( foreignID, tablename, callback ) {
$.getJSON( 'index.php/projects/documentscontroller/getDocuments/' + foreignID + '/' + tablename )
$.getJSON( 'index.php/projects/documentsController/getDocuments/' + foreignID + '/' + tablename )
.done( function ( data ) {
callback( data );
} );
},
removeDocument:function(documentID, callback){
$.getJSON( 'index.php/projects/documentscontroller/removeDocument/' + documentID )
$.getJSON( 'index.php/projects/documentsController/removeDocument/' + documentID )
.done( function ( data ) {
callback( data );
} );