Ucase 2
This commit is contained in:
@@ -9,14 +9,14 @@
|
|||||||
dbo.documentsDataService = {
|
dbo.documentsDataService = {
|
||||||
|
|
||||||
getdocuments: function ( foreignID, tablename, callback ) {
|
getdocuments: function ( foreignID, tablename, callback ) {
|
||||||
$.getJSON( 'index.php/projects/documentscontroller/getDocuments/' + foreignID + '/' + tablename )
|
$.getJSON( 'index.php/projects/documentsController/getDocuments/' + foreignID + '/' + tablename )
|
||||||
.done( function ( data ) {
|
.done( function ( data ) {
|
||||||
callback( data );
|
callback( data );
|
||||||
} );
|
} );
|
||||||
},
|
},
|
||||||
|
|
||||||
removeDocument:function(documentID, callback){
|
removeDocument:function(documentID, callback){
|
||||||
$.getJSON( 'index.php/projects/documentscontroller/removeDocument/' + documentID )
|
$.getJSON( 'index.php/projects/documentsController/removeDocument/' + documentID )
|
||||||
.done( function ( data ) {
|
.done( function ( data ) {
|
||||||
callback( data );
|
callback( data );
|
||||||
} );
|
} );
|
||||||
|
|||||||
Reference in New Issue
Block a user