From e9ba38d67d8bb69bdc31124e4c2d1173dde7a57d Mon Sep 17 00:00:00 2001 From: Theo Weijmer Date: Thu, 11 Jan 2018 08:54:51 +0100 Subject: [PATCH] ucase --- public/js/lib/dataservices/commentsDataservice.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/js/lib/dataservices/commentsDataservice.js b/public/js/lib/dataservices/commentsDataservice.js index 2897472..4c07c45 100644 --- a/public/js/lib/dataservices/commentsDataservice.js +++ b/public/js/lib/dataservices/commentsDataservice.js @@ -9,28 +9,28 @@ dbo.commentsDataService = { getComments: function ( foreignID, tablename, callback ) { - $.getJSON( 'index.php/projects/commentscontroller/getComments/' + foreignID + '/' + tablename ) + $.getJSON( 'index.php/projects/commentsController/getComments/' + foreignID + '/' + tablename ) .done( function ( data ) { callback( data ); } ); }, getComment:function(commentID, callback){ - $.getJSON( 'index.php/projects/commentscontroller/getComment/' + commentID ) + $.getJSON( 'index.php/projects/commentsController/getComment/' + commentID ) .done( function ( data ) { callback( data ); } ); }, addComment: function ( foreignID, tablename, callback ) { - $.getJSON( 'index.php/projects/commentscontroller/addcomment/' + foreignID + '/' + tablename ) + $.getJSON( 'index.php/projects/commentsController/addComment/' + foreignID + '/' + tablename ) .done( function (data) { callback(data); } ); }, saveComment:function(commentID, comment, callback){ - $.post('index.php/projects/commentscontroller/savecomment/' + commentID, {comment:comment} ) + $.post('index.php/projects/commentsController/saveComment/' + commentID, {comment:comment} ) .done(function(){ callback(); });