Browse Source

Merge pull request #1841 from shubham7saxena/frappe-multiple-comments

the user can now add multiple comments without refreshing the page
version-14
Rushabh Mehta 9 years ago
committed by GitHub
parent
commit
645bfc8392
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      frappe/templates/includes/comments/comments.html

+ 3
- 2
frappe/templates/includes/comments/comments.html View File

@@ -110,9 +110,10 @@
} else {
$(r.message).appendTo("#comment-list");
$(".no-comment, .add-comment").toggle(false);
$("#comment-form")
.replaceWith('<div class="text-muted">Thank you for your comment!</div>')
$("#comment-form").toggle();
}
$(".add-comment").text('{{ _("Add Another Comment") }}');
$(".add-comment").toggle();
}
})



Loading…
Cancel
Save