@ -5,7 +5,7 @@ $(document).ready(function() {
ModuleFeed.load('#moduleFeed', true);
// Event listeners
$(document).on('modulePost.add:success', function(/*event, response*/) {
$(document).on('ModulePost.add:success', function(/*event, response*/) {
});
@ -90,6 +90,8 @@ var ModuleFollowing = {
ModuleFollowing.load(list, reFresh);
}
$(document).trigger('ModuleFollowing.unFollow:success', [response]);
} else {
alert(response.message);
@ -15,7 +15,7 @@ var ModulePost = {
input.val('');
$(document).trigger('modulePost.add:success', [response]);
$(document).trigger('ModulePost.add:success', [response]);