Ucase 2
This commit is contained in:
@@ -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 );
|
||||
} );
|
||||
|
||||
Reference in New Issue
Block a user