Commit 6063f57cc94c2480450f034633f05d09890a8812

Authored by Zambom
1 parent 1fa1cff5

Adjusting mural comment without text error

Showing 2 changed files with 2 additions and 1 deletions   Show diff stats
amadeus/static/js/mural.js
... ... @@ -242,7 +242,7 @@ function setCommentFormSubmit(post, comment = "") {
242 242 },
243 243 error: function(data) {
244 244 $("#post-modal-form").html(data.responseText);
245   - setPostFormSubmit(post, comment);
  245 + setCommentFormSubmit(post, comment);
246 246 },
247 247 cache: false,
248 248 contentType: false,
... ...
goals/views.py
... ... @@ -25,6 +25,7 @@ class AnsweredReport(LoginRequiredMixin, generic.ListView):
25 25 template_name = 'goals/reports.html'
26 26 model = MyGoals
27 27 context_object_name = 'answered'
  28 + totals = {}
28 29  
29 30 def get_queryset(self):
30 31 slug = self.kwargs.get('slug', '')
... ...