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,7 +242,7 @@ function setCommentFormSubmit(post, comment = "") {
242 }, 242 },
243 error: function(data) { 243 error: function(data) {
244 $("#post-modal-form").html(data.responseText); 244 $("#post-modal-form").html(data.responseText);
245 - setPostFormSubmit(post, comment); 245 + setCommentFormSubmit(post, comment);
246 }, 246 },
247 cache: false, 247 cache: false,
248 contentType: false, 248 contentType: false,
goals/views.py
@@ -25,6 +25,7 @@ class AnsweredReport(LoginRequiredMixin, generic.ListView): @@ -25,6 +25,7 @@ class AnsweredReport(LoginRequiredMixin, generic.ListView):
25 template_name = 'goals/reports.html' 25 template_name = 'goals/reports.html'
26 model = MyGoals 26 model = MyGoals
27 context_object_name = 'answered' 27 context_object_name = 'answered'
  28 + totals = {}
28 29
29 def get_queryset(self): 30 def get_queryset(self):
30 slug = self.kwargs.get('slug', '') 31 slug = self.kwargs.get('slug', '')