* The Sone web interface
*/
public UnlikeAjaxPage(WebInterface webInterface) {
- super("ajax/unlike.ajax", webInterface);
+ super("unlike.ajax", webInterface);
}
/**
}
if ("post".equals(type)) {
currentSone.removeLikedPostId(id);
+ webInterface.getCore().saveSone(currentSone);
} else if ("reply".equals(type)) {
currentSone.removeLikedReplyId(id);
+ webInterface.getCore().saveSone(currentSone);
} else {
return createErrorJsonObject("invalid-type");
}