Ver a proveniência

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

the user can now add multiple comments without refreshing the page
version-14
Rushabh Mehta há 9 anos
committed by GitHub
ascendente
cometimento
645bfc8392
1 ficheiros alterados com 3 adições e 2 eliminações
  1. +3
    -2
      frappe/templates/includes/comments/comments.html

+ 3
- 2
frappe/templates/includes/comments/comments.html Ver ficheiro

@@ -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();
}
})



Carregando…
Cancelar
Guardar