This commit is contained in:
2018-04-06 10:48:39 +02:00
parent 6f6cda4125
commit 49bd541cb8
10 changed files with 169 additions and 49 deletions
@@ -8,8 +8,8 @@
dbo.documentsDataService = {
getdocuments: function ( foreignID, tablename, callback ) {
$.getJSON( 'index.php/projects/documentsController/getDocuments/' + foreignID + '/' + tablename )
getdocuments: function ( foreignID, callback ) {
$.getJSON( 'index.php/projects/documentsController/getDocuments/' + foreignID )
.done( function ( data ) {
callback( data );
} );